FileSorter is a Python-based script designed to automatically organize files into categorized folders based on their extensions. It helps keep directories tidy by grouping files into logical categories such as "Documents," "Images," "Music," etc.
- β Automated File Sorting: Moves files into predefined folders based on their extensions.
- β Customizable Categories: Users can add new file categories interactively.
- β
Dynamic Configuration: Reads categories from a JSON file (
file.json
). - β Cross-Platform Support: Works on Windows, macOS, and Linux.
- β Safe File Handling: Ensures smooth movement of files without conflicts.
- The script scans a given directory for files.
- It reads
file.json
to determine which files belong to which category. - Files are moved into their respective folders.
- Users can add new categories or view existing ones.
Run the script with:
python main.py <directory_path>
python main.py C:\Users\Username\Downloads
- β Support for sorting by file size, date, or type.
- β GUI version for easier usability.
- β Multi-threading for faster sorting.