Claude Code Automates a Weekly Downloads Folder Cleanup on Mac
A user configured Claude Code’s desktop app to review a Mac Downloads folder every Friday, moving confirmed duplicates and temporary files to Trash while preserving uncertain and college-related files.
A user set up Claude Code in the Claude desktop app to review a Mac’s Downloads folder every Friday at 8 PM. The task runs locally through the app’s scheduled-task feature, requires the Mac to be on and awake, and is configured to keep college coursework and other files that may still be needed.
The cleanup instructions tell Claude to use filenames, file types, dates and context rather than deleting files solely based on age or extension. It can identify old installers, exact duplicate downloads and temporary files, while moving uncertain items to a Review folder and sending confirmed unnecessary files to Trash instead of permanently deleting them.
In a test run, the automation moved 53 items totaling around 766 MB to Trash, identified 34 exact duplicates and reduced the Downloads folder from 634 entries to 579. Claude used SHA-256 hashes to compare file contents, preserved differently edited documents and sensitive files, and moved three uncertain files to a separate Review folder.