Show HN: Auto File Organizer – Python CLI to sort messy folders by file type
github.comI built Auto File Organizer because my Downloads folder was always cluttered with images, docs, and archives mixed together, wasting time on manual sorting. It's a simple Python script (under 100 lines, no external deps—just stdlib) that moves files into subfolders like Images, Documents, Archives, Videos, etc., based on extensions. Features:
CLI options: --recursive for subdirs, --dry-run to preview, --move-noext for extensionless files. Handles duplicates by renaming. MIT licensed, easy to fork.
To try it: text# Clone and run preview git clone https://github.com/ahmedul/auto-file-organizer.git cd auto-file-organizer python3 file_organizer.py ~/Downloads --recursive --dry-run
# Actual run python3 file_organizer.py ~/Downloads --recursive Future ideas: Custom configs and scheduling. Feedback or PRs welcome
> I built... It's a simple Python script (under 100 lines, no external deps—just stdlib)
What ever happened to just "writing" a bit of code?