tidyup
Clean up your Downloads folder (or any folder) in seconds. tidyup moves each file into a subfolder by type: images, documents, audio, video and archives.
Requirements: Python 3.10 or later.
Installation
pip install tidyupQuick start
# Preview the changes without moving anything
tidyup ~/Downloads --dry-run
# Sort it for real
tidyup ~/DownloadsOptions
| Option | What it does |
|---|---|
--dry-run | Shows the changes without moving files. |
--recursive | Includes subfolders. |
--config PATH | Uses your own rules file. |
--undo | Reverts the last run. |
Configuration
Create tidyup.toml to define your own categories:
[categories]
Invoices = ["pdf", "xml"]
Design = ["psd", "fig", "svg"]Troubleshooting
- “Permission denied”: make sure you have write access to the folder.
- A file wasn’t moved: its extension isn’t in any category; add it to tidyup.toml.
License: MIT.