“Hazel is a must-have app if you’re ready to level up your productivity on the Mac.”
- Ability to create patterns for matching. Use the “matches/does not match” operator.
- Ability to create custom tokens. Define them in your match patterns and then use them in your rename/sort/Growl actions.
- AppleScripts and shellscripts can now be embedded into the rules. No external files needed. Scripts can be edited right in Hazel.
- Added new GTD-like date matching. Dates can be compared against “Today”, “This Week”, “This Month” and “This Year” which align with the calendar concepts of days, weeks, months and year.
- Added “is in the next” operator for dates. Useful for dates in the future (like due dates).
- Added “Subfolder Depth” attribute which is how many levels deep from the top folder (the top folder being at depth 0). Can now control what rules apply to what levels of a folder hierarchy.
- AppleScripts can now return a record with special keys to communicate back to Hazel:
- hazelStop: If set to true, Hazel will stop processing the current rule, considering it to have executed successfully. Subsequent actions in this rule will not be run.
- hazelSwitchFile: If set to an alternate file, subsequent actions will act on this file instead of the original one passed in. You can use this when the file is “transformed” (like turned into an archive) or if you want to re-target another file, like the parent folder.
User interface changes:
- You can now select multiple rules in the rule list (finally).
- Added new formatting options for the “domain” token. Clicking on it will allow you to get its “base” domain or strip it down even further by dropping the TLD. For instance, “www.example.com” can be formatted as “example.com” or “example”.
- Script pop-ups now keep track of any currently used scripts.
- Fixed underlining of the “month” token’s menu items. While the numerical forms should have underlines to indicate number of digits, they make no sense for the textual forms (Dec & December).
- Tweaked the color label picker on Leopard to more closely resemble Finder’s current look. Will also display name and selection frame when moused over.
- Widened rule window to match width of System Preference’s window (at least, Leopard’s version of it).
- Fixed multiple duster icons appearing. Note, this fixes the problem from this version onwards. You may still experience it when first upgrading to this version.
- App Sweep will prompt for a password if any support files’ permissions require it.
- App Sweep now picks up any installed QuickLook plugins.
- Fixed bug where extra hazeldb files were being created.
- Added “ScanInvisibles” default. If set, Hazel will not ignore invisibles, instead processing them like any other file.
- Added “IgnoredBackupDirs” default. It is an array of directories that when determining whether an app is installed, App Sweep will ignore if that app is underneath that directory.
- HFS busy flag is now ignored. Files with this flag set will not be considered busy. It was unclear whether any program uses this correctly and there were cases where programs were setting the flag incorrectly.
- Fixed error messages being logged when uninstalling files even when it was successful.
- Fixed memory leaks.
- Live rule preview. When editing a rule, you can pick a file to preview against and see how the rule’s conditions match that file while editing.
- Rule syncing. You can now sync rules to a specific file. This can be done for multiple folders on the same machine, or across machines by using a file cloud service (Dropbox, iCloud Drive, etc.). Sync options are available via the gear pulldown.
- Old rule preview interface expanded to a status interface. For files already processed, will show rule that matched and the last matched date. If there was an error, it will be displayed instead.
- Smart folders can now be monitored and have rules applied to their contents. Works like regular folders except that you cannot perform operations involving going into or matching subfiles/subfolders.
- Rule search added. Entering search terms in the field will search across various fields in the rule and filter the rule list as appropriate.
- New “Toggle extension” action to show/hide a file’s extension.
- “Display Notification” action now has option to play a sound.
- “anything” (…) attribute now available in “Sort into subfolder” patterns. This allows you to sort into an existing folder based on only part of the folder name. When using this, note that the folder cannot be created for you automatically.
- Improvements to “counter” attribute:
- Added option to use lowest number available. Default is still to always increase.
- Added option to use letters instead of numbers.
- Added new “monitored folder” as a destination for move/copy operations. Represents the top level folder being monitored by Hazel. Especially useful for rules that are synced, where the monitored folder varies and cannot be hardcoded.
- When using list-based attributes in a format pattern, you can pick any element (1st, 2nd 3rd, etc.) starting from the beginning or end of the list. Previously could only pick all items, the first item or the last item.
- Introduced pop-up help text in a couple places to help point out less-used features.
- Can now show invisible characters when editing patterns. Use command-shift-i to toggle it on and off.
- Requires 10.10 (Yosemite).
User interface changes:
- Notification options moved from gear pulldown to the “Info” section. They are app-wide settings, not per-folder, so it made more sense to put them there.
- Rules that are moved between folders will be deactivated. Likewise, if a rule is copied, the copy will be deactivated. This is to prevent cases where you want to move/copy then edit the rule in the new folder. There is a window of time between the copy and the edit where Hazel can run using the temporarily unwanted version of the rule. The rule can be re-enabled by clicking its checkbox at the new location.
- Canceling rule edits will bring up a warning if changes have been made.
- Can now edit server settings for the Upload action.
- Fixed dragging of conditions/actions being glitchy in certain cases on El Capitan. In the process, also made it smoother overall.
- Attributes which are lists of dates now have their own set of operators. Previously used the same operators as single dates which didn’t actually work when the rule was evaluated.
- Rule window is now resizable horizontally.
- Replace text window is now resizable.
- Added some instructional notes to sample rules.
- Updated app and document icons.
- “Reveal in Finder” action and contextual menus now “Show in Finder” to reflect current verbiage in OS X.
- When deleting a custom attribute, if it was in use, an alert would be shown. If you clicked cancel, the deleted attribute would not come back. This has been fixed.
- Fixed rare case where the rule window comes up too short, cutting off the action at the bottom.
- Fixes to tag field behavior.
- Fixed a couple of hangs.
- Various tweaks and fixes.
- Fixed rules using “is among the…” not running in certain cases.
- Text replacements now work on numeric attributes.
- Now uses more specific file events making processing a bit more efficient as only files/folders involved in a change are processed.
- Fixed move/copy across volumes failing when there is an issue being able to acquire a temporary space to copy the file.
- Fixed case where error status on a file was not being cleared if the file ended up matching no rules.
- Rule evaluation engine will now forgo certain optimizations to ensure any custom attributes that can be matched will be.
- Improved loop detection. Should hopefully prevent some cases which will become even more common with the new Smart Folder support.
- Fixed throwing away duplicates function only working on the top level folder and not in subfolders.
- Worker process will now reload rules between loops to catch any changes to rules.
- Fixed case where prediction time may not be assigned correctly.
- Small changes to make rules a bit less dependent on aspects of any specific host when synced or exported.
- Numerous internal fixes, updates and cleanups.
- Snow Leopard compatibility: Hazel is now runnable on Snow Leopard.
- 64 bit support: Hazel is now 64-bit. If your CPU supports it, the preference pane will load into System Preferences on Snow Leopard without requiring a restart in 32-bit mode. The background processes will also run in 64-bit on Snow Leopard.
User interface changes:
- Fixed the menubar menu not updating when a drive was mounted/unmounted.
- Entries in the menubar menu for folders on unmounted/ejected drives will now stay there and just grey out when the drive is unavailable.
- Numeric attributes now show your selected number format in its pop-up if it isn’t one of the presets.
- Fixed attributes and tokens getting “linked” across rules when a rule was copied. For example changes to the date format in one would be seen in the other. Copies now should be totally distinct from each other.
- Fixed keyboard navigation in the main pane interface.
- Fixed the focus ring not showing up for the action pull-down button.
- Entries in the Spotlight picker should now sort in a case-insensitive manner.
- Fixed bug where the uninstall log was not being created, therefore breaking multiuser App Sweep.
- Fixed App Sweep popping up if a duplicate of a file is thrown away. This usually happens when a copy of the app is already in the Trash resulting in “SomeApp-1.app” thus tricking Hazel into thinking it’s a different app.
- Fixed case where a badly formed bundle id would confuse App Sweep into adding the preferences folder to the support file list.
- App Sweep should now be able to clean up after screen savers.
- Fixed text captured by a custom token having spaces stripped out of it.
- Fixed crash when executing a rule which used the “domain” attribute with a special format option (formatting as “example.com” instead of “www.example.com”) and the file had no domain set.
- Tweaked trash algorithm in terms of prioritizing and handling oversized files.
- Fixed subtle case in code determining a file’s extension when the extension is a number (such as is the case with man pages) and it has a file association with an app.
- Numerous internal fixes.
Note: this release requires 10.8 (Mountain Lion) or later to run.
- Files can now match multiple rules. Use the new “Continue” action to have Hazel continue evaluating rules if the current rule matches and hasn’t been moved out of its folder.
- Conditions can now use custom attributes defined in earlier conditions. This means:
- Custom attributes now appear in the attribute pop-up. You can create conditions based on your custom attributes just like the built-in attributes.
- Custom attributes can be used in match patterns in conditions. When doing this, the first instance of the custom attribute to match has its value captured. Any subsequent usage of that custom attribute must match that captured value. For instance, if you have a custom attribute that matches the text “blah”, subsequent conditions which try and match that attribute must match the text “blah” as well, ignoring whatever pattern you set on it. The same goes for custom date attributes, though in that case, the pattern for the date is still used to parse it; the resulting date must be the same as the captured one. See the help for some examples.
- Added “did change” operator. You can now monitor whether an attribute changed without knowing what it changed from or to.
- AppleScripts are now passed in an extra argument, which is a list of custom attribute values. You can specify in the interface which attributes you want Hazel to send in.
- AppleScripts in conditions can now export custom attributes as they already can in actions currently.
- The preview now shows how a file matches against all possible rules. Also, if a rule failed to match, the field(s) which caused it to fail will be highlighted in red.
- Pressing the spacebar in the preview brings up QuickLook for the selected file.
User interface changes:
- New graphics and icons.
- Cosmetic changes for 10.10 (Yosemite).
- Fixed various erratic behaviors with tag fields.
- Various VoiceOver fixes.
- Numerous tweaks and fixes.
- The Upload action can now properly upload whole folders, not just individual files.
- Various fixes to upload code.
- Fixed the Unarchive action not working on certain archive files.
- Fixed issue with Hazel not being able to add folders beyond a certain limit.
- Re-worked storage of internal file aliases which should allow Hazel to better track changes when rules/settings are transferred across accounts.
- Fixed engine sometimes not being triggered when events arrive while it is in the midst of processing the folder.
- Tweaked AppSweep algorithm to prevent some false positives.
- Worked around Apple bug where color tag was being re-applied when doing a Remove tag then Add tag action in the same rule on pre-10.10 systems (issue is fixed in 10.10).
- Fixes O’Plenty.
Note: Version 3.1 requires OS X 10.7 (Lion) or later
- Added new “Upload” action to upload files via FTP/SFTP/WebDAV
- Can now use patterns to match against and extract a file’s contents. Note that this only works for certain file types like PDF and certain text formats (if it can be properly viewed by TextEdit, chances are it will work).
- Added a custom date token type. Can use it to match dates in text and then be used as a date in other patterns.
- Rules can have notes/descriptions added.
- Move/copy/upload actions now have an option to copy over the folder structure. This is akin to using the “source folder” attribute but the hope is that that attribute can be phased out in the future in favor of this, which is much easier.
- New option to not overwrite the existing file when copying/moving/uploading.
User interface changes:
- Removed the condition target pop-up from the main rule interface as it was causing too much confusion and was being used incorrectly by novices. It is now only accessible via a nested condition. Rules that currently use it will have an extra nesting level added but should behave the same. Also, as a result of this, there is an extra level of nesting allowed.
- You can now nest “any/all subfiles” underneath an “enclosing folder” target.
- Fixed not being able to nest “enclosing folder” under another “enclosing folder” target.
- Added “this quarter” to date conditions and “quarter” to date formatting options.
- Fixed the Mail quick folder item in the open dialog not working on 10.8
- Notifications now disappear from Notification Center when clicked on.
- Tokens will now indicate if it has text replacements by showing a double-ended arrow symbol at the end.
- Fixed bug where changes to tokens were kept even when canceling a rule edit.
- Edit button no longer is enabled if multiple rules are selected.
- bash is now the default shell for shell scripts.
- Fixed various quirks with custom tokens.
- Numerous other fixes and tweaks.
- Added optimizations to only process necessary files in any one pass. Should significantly cut down on files being processed over and over unnecessarily.
- Scripts are now run by executing the user’s preferred shell first. This should more closely (but not exactly) simulate the environment that the user experiences when running the script from Terminal.
- Duplicate files are thrown away after a delay. This should prevent Hazel from interfering if you are doing something in the folder, like creating new folders or making a copy manually so you can move it somewhere else.
- Files too big for the trash and marked for immediate deletion now have a grace period of a few minutes before they are deleted.
- iTunes/iPhoto/Aperture timeout is now based on file size. Should prevent Hazel from timing out early when importing huge files.
- Re-worked/updated how metadata and attributes are fetched from files which should result in better performance.
- Fixed text replacement not taking place for custom or exported tokens.
- Shell script output is once again enabled in the logs, but only in debug mode.
- Symlinks should now have the date added of when the link was added, not the date added of the file/folder it is pointing to.
- Fixed numerous issues with custom tokens which would cause crashes or rule corruption.
- Reworked some aspects of the logging system. Certain logs are now filtered out unless enabled via a default.
- Honey bunches of fixes.
- Added Import into Aperture action.
- Added Sync action to sync (one-way) a file or folder to another location.
- Added Current Time attribute. Provides scheduling support for rules.
- Rule preview now features a popover to display a file’s attributes. Attributes that contributed to a rule match are highlighted.
- Conditions can now be nested/grouped. You can now do combinations of and’s, or’s and not’s.
- Conditions can be set to match against other files, like subfiles/folders or the parent folder. Note that actions still target the original file.
- You can specify custom conditions via scripts.
- Added new conditions to match files if they are the most/least recent or whether they fall within the top/bottom for a particular attribute.
- The Add Comment action now supports patterns.
- The Sort into Subfolders action now has options to throw away dupes and rename/replace.
- The Open and Reveal actions now have an option to bring the application or Finder window to the front.
- Tokens in patterns now support textual search and replace.
- Ability to adjust dates in patterns. Tokens for date attributes can now have their value adjusted before display.
- AppleScripts can export custom tokens which can then be used in patterns of subsequent actions.
- Folders can be paused, suspending rule processing on them until resumed again. Allows you to preview rule sets for a particular folder without fear of them running.
- Trash size can now be limited to a percentage of the total disk capacity.
- Added support for Google Chrome.
- uTorrent support. The latest version of uTorrent now supports separate folders for complete and incomplete downloads. If set in uTorrent’s preferences, Hazel will add uTorrent to the list of quick folders when adding a folder.
- Added month and year to time units.
- Now requires 10.6 (Snow Leopard).
User interface changes:
- New UI, including (but not limited to):
- Conditions and actions are now draggable/reorderable.
- Eliminated expand/collapse UI. Now using popovers, making editing rules more nimble.
- Pattern editors will now grow the pattern field to accommodate the whole contents. Should eliminate frustrations with trying to drag and scroll.
- Script editors are now resizable
- The Keywords action has been removed.
- Moved preview function to its own button.
- Fixed bug where deleting a condition defining a custom token did not delete uses of that token in patterns.
- When deleting a condition defining a custom token, will only warn about a token is in use if it actually is in use.
- Entries in the folder list and in other places will now show the parent folder if there are multiple entries with the same name.
- Rule UI should behave better when the sheet runs out of room.
- If a folder goes missing, the folder list tool tip will show the last known path when hovered over.
- Numerous tweaks and fixes.
- New engine. Uses newer file events mechanism. What does this mean?
- Hazel will catch more file events.
- It will do so in a much more timely manner.
- Uses a new prediction engine so that it only wakes up when it needs to. No longer polls the disk (except for a couple exception cases).
- As a result, much less resource utilization. For laptop users, this will result in longer battery life and Hazel will be less likely to prevent the disk from spinning down.
- Allows for rule scheduling.
- AppSweep now handles unloading launchd agents and login items.
- AppSweep now cleans up Lion’s saved state and container folders.
- Hazel will use Lion’s Date Added if it’s available.
- Hazel should behave better with external drives. If a rule fails because the destination of an action is on an unavailable drive, it won’t re-run over and over until it does. Instead it will wait until the drive comes online, at which point, the scheduler will wake it up to run again.
- Changed internal alias format to newer bookmarks. Added workarounds for shortcomings in Lion’s implementation of aliases/bookmarks with unmounted drives.
- Fixed problem where trying to rename a file with the same name but different case was failing.
- Fixed problem where asterisks were not getting matched properly when using the “is” or “is not” operators with text attributes (like “Name is …”).
- Fixed issue where the name and extension (as well as full name) attributes were using the POSIX versions of the filenames which may not always match the names presented to the user in Finder. The most obvious difference is whether / or : is accepted in filenames. Hazel should now match against the filename as presented in Finder, which means that : is not allowed. Previous rules that matched against : will be converted to match against /.
- Fixed problem when Spotlight and Launch Services reported a different “Kind” for a file. Usually happens with SMB filesystems.
- Did a significant change in how files/folders are copied/moved. The destination file is now properly locked so that other compliant processes (including Hazel processes) will not interfere with the operation.
- Archive action used to not archive a file if it was already a zip or had a zip extension. Made this restriction tighter such that the file has to be a zip AND have a zip extension. This allows file formats (like MS Office documents) which are zips to be archived.
- Tons of fixes and tweaks.
Here Brooks Duncan at DocumentSnap.com shows how to set up Hazel to create notes in Evernote.
One of many great tutorials from Brooks Duncan over at documentsnap.com. This one shows how to set up a paperless workflow, from scanning your documents and OCR’ing to filing.
- Download Hazel here
- Double-click the downloaded DMG file. It should be located in your Downloads folder. If not, check your browser’s preferences.
- In the window that opens, double-click the Hazel installer.
- Follow the instructions from System Preferences from there.
If you have a license file, you can now use it to register your copy.
Otherwise, Hazel will run in trial mode. This will allow you to try out the software for 14 days before purchasing. During this time, all features will be enabled except for exporting rules.
When the trial expires, Hazel will go into demo mode, where it will limit you to monitoring one folder with a maximum of two rules.