~/py-automation
~/automationfolder_organiser.py

Folder organiser

$15
per script

Scans a directory (e.g. Downloads) and moves every file into a category subfolder based on extension โ€” Images, Videos, Code, Documents, and 8 more. Runs on a schedule and optionally watches in real time using watchdog. Handles name conflicts, skips still-downloading files, and logs every move.

watchdogschedulepathlibshutilreal-timecross-platform
๐Ÿ“
11 categories
Images, Video, Audio, Code, Design, Ebooks and more โ€” fully customisable.
๐Ÿ‘๏ธ
Real-time watch
Moves files the moment they appear using watchdog filesystem events.
๐Ÿ›ก๏ธ
Safe moves
Skips files still downloading. Handles name conflicts automatically.
๐Ÿ–ฅ๏ธ
Cross-platform
Works on macOS, Windows, and Linux with zero changes.

27 files would be moved ยท 3 skipped

sorted output

๐Ÿ“ Images/3 files
screenshot_20240115.png
photo_holiday.jpg
logo_final.svg
๐Ÿ“ Videos/2 files
intro_video.mp4
family_video.mov
๐Ÿ“ Audio/3 files
podcast_ep45.mp3
recording.wav
track_01.flac
๐Ÿ“ Documents/6 files
invoice_jan_2024.pdf
resume_v3.docx
notes.md
spreadsheet_q4.xlsx
chapter_draft.txt
presentation.pptx
๐Ÿ“ Spreadsheets/1 file
data_export.csv
๐Ÿ“ Archives/3 files
project_backup.zip
archive_2023.tar.gz
node_modules.zip
๐Ÿ“ Code/4 files
app.py
styles.css
main.go
database.sql
๐Ÿ“ Executables/1 file
setup.exe
๐Ÿ“ Fonts/2 files
font_pack.ttf
font_bold.woff2
๐Ÿ“ Design/1 file
design_mockup.fig
๐Ÿ“ Ebooks/1 file
ebook_python.epub
๐Ÿ“ Skipped/3 files
sample.crdownload(still downloading)
.DS_Store(system file)
Thumbs.db(system file)

category breakdown

Images3(11%)
Videos2(7%)
Audio3(11%)
Documents6(22%)
Spreadsheets1(4%)
Archives3(11%)
Code4(15%)
Executables1(4%)
Fonts2(7%)
Design1(4%)
Ebooks1(4%)

Need a customised version of this?

Describe your exact use case and I'll give you a fixed price within 30 minutes.