This script automatically sorts files in your Downloads folder into designated subfolders based on their file types. It is particularly useful for organizing downloaded files, keeping your Downloads directory clean and easy to navigate.
- Automatically sorts files into folders based on their file extensions.
- Moves specific folders (like Minecraft) into designated directories.
- Handles creation of new folders if they do not exist.
- Runs continuously, checking for new files every 5 minutes.
The script:
- Identifies the default Downloads directory of the current user.
- Creates folders for different file types if they do not already exist.
- Moves files into their respective folders based on their extensions as defined in
data.py. - Continuously monitors the Downloads folder and sorts files every 5 minutes.
├── data.py # Contains file type and folder configuration
├── file_sorter.py # Main script for sorting files (this file)
└── README.md # Documentation for the script
git clone https://github.com/RadExponent5431/filesorter.git
cd filesorter
Press windows + R and tipe
shell:startupIn this folder make a shortcut to the filesorter.pyw and restart your device