Sorting a Cluttered Downloads Folder with a 40-Line Python Script
The author wrote a short Python script to tidy a cluttered Downloads folder containing screenshots, PDFs, zip files and installers. The script checks each file's extension, assigns it to a category such as Images, Documents, Spreadsheets or Archives, and moves it into a matching folder. It prints a preview of the planned moves before changing anything, and file moves only happen when the apply option is enabled. The author notes the basic version does not handle duplicate filenames, supports only four categories, or keep a log, and points readers to a fuller version offered separately.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in