HOW TO | AUTOMATE YOUR MAC
Archive disk images
Choose the Downloads folder in Hazel and click ‘+’ in the Rules pane. Name your rule, set ‘If’ to ‘all’ and set the condition to ‘Extension is dmg’. Add a condition and set it to ‘date added is not in the last 1 week’. Set the action to ‘Move to folder' and pick a folder for your disk images.
File bank statements
Keep downloaded PDF bank statements tidy by making a rule for the Downloads folder with conditions that match your bank’s URL as the source and files whose kind is PDF. Tell Hazel to move matches to a folder. If filenames include dates, you might use that to file in subfolders.
Import music to iTunes
If you download music from blogs or other websites, Hazel can add it to iTunes. Create a Downloads folder rule with ‘Kind is Music’ as the condition and ‘Import into iTunes’ as the action. Optionally, pick a playlist. Similarly, you can add photos to iPhoto or Aperture.
Match files by content
Hazel can match file contents too. So, to rename bank statements by date issued (not a file’s creation date), set a condition that checks ‘Contents’, ‘contain match’ and ‘custom date’. Add day, month and year separated with slashes (/). Also add a content match for your bank’s name.
Set the rule’s first action to Rename, click in the ‘with pattern’ box and choose the date pattern you created in step 4. Type a dash, your bank’s name and ‘statement’. Optionally, move the file to a folder. Now downloaded statements will be renamed to include their date of issue.
Share Screen Shots
Create a Dropbox folder and share it with someone. In a new rule, set a condition that ‘name contains’ and type ‘Screen Shot’. Add another condition, set it to ‘Kind’, select ‘Other’ and then ’Portable Network Graphic’. Set the action to ‘Move’ and choose the shared folder.
7 Archive old, unused files Get files you might never open again off your Mac and store them elsewhere. In a new rule, set a condition that checks ‘Date Last Opened’ and ‘Is before’. Specify a date or select a duration such as ‘This Month’. Set the action to move matches to an external or network drive.
8 Flag overdue invoices Put your invoices in a folder named ‘Sent’ as you send them. Set up a rule on that folder with a condition of ‘Date Added’ and ‘is not in the last’, then choose a time frame. Set the rule’s actions to ‘Set colour label’ to red and to ‘Sort into subfolder‘ with the name ‘Overdue’.