Skip to content

A program that automates organising files

License

Notifications You must be signed in to change notification settings

ysyvon/fileorganiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Organiser

This program is a simple file organiser that automatically sorts files in any folder of your choice into categorized folders.

Features

  • 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.

How to Use

  1. Run the Script: Execute file_organiser.py (or the executable file if you've created one).

  2. Select Folder: Click the "Select the Folder You Wish to Organise" button and choose the folder you want to clean up.

  3. Automatic Organization: The script will create folders for each category and move the files to the respective folders.

  4. Check the Console: Observe the console output for messages indicating the progress and any potential errors.

Dependencies

  • 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.

Customization

You can easily customize the file categories and their corresponding folder names by modifying the file_cat dictionary in the script.

Disclaimer

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.

License

This project is open-source and available under the MIT License.

fileorganiser