This program is a simple file organiser that automatically sorts files in any folder of your choice into categorized folders.
-
Categorization: Sorts files based on their extensions into folders like "Sorted_Images," "Sorted_Documents," "Sorted_Music," etc.
-
Customizable: Easily add or modify file categories in the
file_cat
dictionary. -
User-Friendly GUI: Provides a simple Tkinter interface to select the folder to be organised.
-
Error Handling: Includes basic error handling to gracefully manage issues like file permissions.
-
Cross-Platform: Works on Windows, macOS, and Linux.
-
Run the Script: Execute
file_organiser.py
(or the executable file if you've created one). -
Select Folder: Click the "Select the Folder You Wish to Organise" button and choose the folder you want to clean up.
-
Automatic Organization: The script will create folders for each category and move the files to the respective folders.
-
Check the Console: Observe the console output for messages indicating the progress and any potential errors.
-
Python: This script requires Python 3.x.
-
Tkinter: The GUI library (included with Python).
-
os: Used for file and directory operations.
-
shutil: Used for moving files.
You can easily customize the file categories and their corresponding folder names by modifying the file_cat
dictionary in the script.
Always test the script on a copy of your files or a separate test folder first to ensure it works as expected before running it on your main Downloads folder.
This project is open-source and available under the MIT License.