Downloads Folder Organizer: Python Script to Sort Files by Type
On Sale
$5.00
$5.00
A small Python script that sorts a messy Downloads folder into tidy subfolders by file type. Safe by default: it shows what it would do first.
What you get
- organize_downloads.py (standard library only, no installs, Python 3.8 or newer)
- README.txt with usage and customising notes
How it works
- Sorts into Images, Documents, Spreadsheets, Presentations, Archives, Audio, Video, Code, Installers and Other.
- Dry run by default. Nothing moves until you add --apply.
- Never overwrites: name clashes get a counter, like report (1).pdf.
- --undo reverses the last run in that folder.
- Works on any folder, not only Downloads. Subfolders and hidden files are left alone.
- Edit the category list at the top of the script to add your own file types.
Good to know
- Tested on Linux with Python 3 on a sample folder (dry run, apply, name clash, undo). Not tested on Windows or macOS, so try it on a copy first.
- Needs Python installed. You run it from a terminal or command prompt.
- Digital download, no physical item. Please do not resell or redistribute the script.
Made by IA Templates.