This is an Open Source Python project that provides a graphical user interface (GUI) for sorting files based on their extensions. The script allows users to select directories, define specific file types to sort, and organize files into folders with customized naming patterns. The program supports multiple languages (English, German, and French) and includes advanced customization options.
Author: Kristian Gasic
-
Custom File Extensions:
- Select specific file types (e.g., PDF, MP3, MP4, ZIP, RAR).
- Sort files by extensions into categorized folders.
-
Custom Destination Folder:
- Option to set a custom folder for sorted files.
- Default location: Desktop in a folder named
Sorted_Files
.
-
Automatic Naming:
- Files are renamed with their creation date as a prefix (e.g.,
2023-01-01_filename.pdf
). - Special naming for invoices (e.g.,
InvoiceNumber_Invoice_Date.pdf
).
- Files are renamed with their creation date as a prefix (e.g.,
-
Multilingual Support:
- Languages: English, German, French.
- Language selection displayed on startup.
-
Open Source:
- This project is open source and free to use.
- Paid versions with additional features are available upon request.
-
Select a Directory:
- Choose the folder you want to organize.
-
Choose File Extensions:
- Select the file types to sort (e.g., PDFs, images, videos, compressed files).
-
Set a Custom Folder (Optional):
- Define a destination folder where sorted files will be saved.
- If not set, files are saved to the Desktop.
-
Start Sorting:
- Click the
Start Sorting
button to begin. - Files will be moved and renamed based on the defined settings.
- Click the
-
Language Support:
- Choose your preferred language at startup.
-
Clone the repository:
git clone https://github.com/kristiangasic/FileSorter.git cd FileSorter
-
Install required dependencies:
pip install tkinter customtkinter
-
Run the script:
python filesorter.py
-
Install PyInstaller:
pip install pyinstaller
-
Generate the executable:
pyinstaller --noconfirm --onefile --windowed filesorter.py
-
The
.exe
file will be located in thedist
folder. -
Optionally, add a custom icon:
pyinstaller --noconfirm --onefile --windowed --icon=icon.ico filesorter.py
- Select a folder containing unsorted files (e.g.,
Downloads
). - Choose to sort only
PDF
andMP4
files. - Set a custom destination folder, such as
C:/SortedFiles
. - Run the script to organize your files with names based on their creation date.
Feel free to contribute to this project by submitting issues or pull requests on GitHub.
For questions or support, contact the author on GitHub or request a paid version for more advanced features.