My Favorite Actions for Hazel, the Preeminent File Management Software for the Mac
Hazel, by Noodlesoft Software is a Mac utility for automating file management. You select a folder and provide criteria about what you want to happen to the files and folders in that folder and Hazel periodically checks it and runs the rules. Hazel can move, copy, rename and convert files. Criteria you can use include all of a file’s native attributes and even file contents. A lot of folks use it to scan PDFs of their bills for a specific account number and automatically move the file to a folder in their paperless record management system.
These are my favorite Hazel Actions
- Unzip any compressed files in my Downloads folder and trash the zip file - This helps keep my downloads folder cleared of the detritus that occurs because I am a compulsive software addict.
- Install apps inside DMGs in my downloads folder via RapiDMG and then trash the DMG - When I download a disk image file with an app in it, I don’t have to do anything else to get the app moved to my Applications folder. It happens in seconds with no intervention from me unless I have to approve replacing an existing file.
- Import any image file I place in an Images folder into the Photos app (in the background) - I’m constantly copying photos from Facebook and various web sites. I have them to a folder I have designated in Hazel and they automatically get imported into my photos library with me even opening the app.
- Change any text file in my Dropbox to a markdown file and move it to my Obsidian vault (useful in sending emails to Obsidian) - I use an IFTTT applet that allows me to forward emails to a specific address. Those emails are save in a specific folder in my Dropbox account that Hazel watches. When a file appears there, Hazel changes the file extension from txt to md and moves the resulting file into my Obsidian vault.
- Sort all files in my documents folder into subfolders based on file extension. - I currently have 42 sub-folders in my documents folder of different file types ranging from the usual suspects like txt and docx to the more esoteric like saved HoudahSpot searched and Etrecheck Reports.
- Purge old screenshots - between my day job and my blogging past time, I generate a lot of screenshots. Hazel moves any screenshots more than three days old into an archive folder to help give a semblance of order.
- Color code any application I haven’t opened in three months - I have 416 apps installed on my mac because, well, I just can’t help myself. Hazel will color an unused app red after not launching it for 90 days to help me decide whether to keep it or remove it with AppCleaner.
- Keep my desktop clean - I do not like to use my desktop as part of my file system. I rarely even see it since I run apps maximized most of the time. This rule moves any file that ends up on my desktop into a folder in my home directory. I exclude aliases from the rule because there are times when I want to make an app shortcut on the desktop, usually temporarily.