A user-friendly tool to automatically organize your files! This program categorizes files based on their types and places them into designated folders. Say goodbye to the hassle of manual file sorting! π
- π Introduction
 - β¨ Features
 - βοΈ Installation
 - π Usage
 - π File Types
 - π¦ Dependencies
 - π§ Configuration
 - π Logging
 - πΌοΈ Screenshots
 - π€ Developers
 - π License
 
π― File Sorter is your go-to tool for organizing files in a folder automatically into predefined categories like Images, Documents, Videos, and more. With just a few clicks, you can transform a cluttered folder into an organized one. π
β
 User-Friendly GUI: Built with tkinter, making it easy to use for everyone.
β
 File Categorization: Organizes files into categories such as Images, Documents, and Videos.
β
 Custom Sorting: Allows sorting by specific file types or all file types at once.
β
 Multithreading: Uses concurrent file processing for faster sorting.
β
 Duplicate Handling: Prevents overwriting by appending unique identifiers to duplicate filenames.
β
 Empty Folder Cleanup: Automatically removes empty folders after sorting.
β
 Detailed Logging: Keeps track of all operations in a log file for reference.
To set up and use the File Sorter:
- 
Clone this repository:
git clone https://github.com/yourusername/file-sorter.git cd file-sorter - 
Install the required dependencies:
 - 
Run the program:
python file_sorter.py
 
- Launch the Program: Run the script, and the GUI will open.
 - Select a Folder: Click the "Browse" button to select the folder you want to organize.
 - Choose a File Type: Use the dropdown menu to select a category (e.g., Images, Documents, etc.) or choose "All Files" to sort everything.
 - Start Sorting: Click the "Start Sorting" button. A success message will pop up once the files are sorted.
 
The following file types are supported:
| Category | Extensions | 
|---|---|
| Images | .jpg, .jpeg, .png, .gif, .svg, .bmp, .webp, .ico, .tiff | 
| Documents | .pdf, .docx, .txt, .xls, .xlsx, .ppt, .rtf, .odt, .ods | 
| Videos | .mp4, .mkv, .avi, .mov, .flv, .webm, .wmv | 
| Audio | .mp3, .wav, .flac, .aac, .ogg, .m4a | 
| Archives | .zip, .rar, .7z, .tar, .gz, .iso | 
| Coding | .py, .js, .html, .css, .json, .java, .cpp, .rb, .php | 
| Installation Files | .exe, .msi, .dmg, .pkg, .deb, .rpm | 
| E-Books | .epub, .mobi, .azw, .pdf | 
| Fonts | .ttf, .otf, .woff, .eot | 
| Databases | .db, .sqlite, .sql, .mdb | 
| 3D Models | .obj, .fbx, .stl, .dae | 
| Vector Graphics | .ai, .eps, .svg, .cdr | 
| Configurations | .cfg, .ini, .yaml | 
| Log Files | .log, .out | 
The program relies on the following Python modules:
tkinter(built-in with Python)requestsshutilconcurrent.futures
The script automatically installs missing dependencies.
- Download Folder: Select your desired folder through the GUI.
 - File Type Selection: Choose specific file categories or sort all files.
 - Multithreading: The script uses 
ThreadPoolExecutorwith 4 workers by default. Adjust themax_workersparameter in the code for higher performance if needed. 
All operations are logged in a file named OrganizeMyFiles.log. Logs include:
- Successfully moved files
 - Duplicate files and their renamed versions
 - Errors encountered
 - Empty folders that were removed
 
Below are some screenshots of the application in action:
  
  
  Figure 1: The main interface of the File Sorter
  
  
  Figure 2: File sorting process is ended
Developed by:
π Thank you for using our tool! Follow us on GitHub and give us a star if you find it useful! π
This project is licensed under the MIT License. You are free to use, modify, and distribute this software.
π Enjoy organizing your files with ease!
