FileSorter is a simple PyQt6 application designed to help you organize your files by automatically categorizing them into folders based on their file extensions. With FileSorter, you can easily monitor a selected folder and ensure that your files are neatly organized for easy access.
-
GUI Application: FileSorter provides a user-friendly graphical interface for selecting a source folder and triggering the file monitoring process.
-
Automatic File Categorization: Files are automatically sorted into folders based on their file extensions, such as images, videos, music, and documents.
-
Handling Duplicates: FileSorter handles duplicate file names by appending a counter to the filename to prevent overwriting.
-
Document Subfolders: Within the "Documents" folder, specific subfolders are created for different document types (PDF, CSV, TEXT, PPT, WORD) to further organize your files.
-
Error Handling: Robust error handling to ensure smooth operation, including handling race conditions and file move errors.
To use FileSorter, follow these steps:
-
Download: Download the latest release from the Releases page of this repository.
-
Extract: Extract the downloaded ZIP file to your desired location on your computer.
-
Install Dependencies: Install the required dependencies using the
requirements.txt
file:pip install -r requirements.txt
-
Run: Locate the main Python file (
FileSorter.py
) and run it:python main.py
-
Select Source Folder: Click on the "Select Source Folder" button to choose the folder you want to monitor for file organization.
-
Trigger Monitoring: Click on the "Trigger Monitoring" button to start monitoring the selected folder. FileSorter will automatically categorize incoming files into appropriate folders.
-
View Results: Once the monitoring process is running, you can navigate to the selected source folder to view the organized files in their respective folders.
If you have any suggestions, bug reports, or feature requests, feel free to open an issue or submit a pull request to contribute to the development of FileSorter.
- Special thanks to the PyQt6 and Watchdog libraries for providing the tools necessary to build this application.