By default, Hazel shows just one folder—Downloads (Macintosh HD ▸ Users ▸ your-username ▸ Downloads)—but you can add as many folders as you like. For each folder, you can then create one or more rules to monitor the folder and perform the actions of your choice.
Manage Folders. By default, Hazel shows just one folder—Downloads (Macintosh HD Users your-username Downloads)—but you can add as many folders as you like. For each folder, you can then create one or more rules to monitor the folder and perform the actions of your choice.
Adding a folder, by itself, causes nothing to happen, so feel free to add any folders you think you’d like to monitor and then add rules at your leisure.
- Divisibility rules can be used in everyday life. For example, if you're at a grocery store and you need to find which deal is better by using divisibility rules. Let's say 2 cans of beans cost $6 and in another store, 4 cans of beans cost $8. Which deal is better? We know that 6 is divisible by 2, so each can costs $3.
- Nov 06, 2013 Effortless Paperless Nirvana With Mail, Hazel and Evernote. Now that Hazel is watching the Downloads folder, you need to define some rules. In Hazel, rules are defined in a similar manner as they are in Mail. You set some conditions to match and then some actions to perform. It doesn't stick around creating clutter on your Mac.
- Jun 11, 2016 But from time to time I want to do a clean install of OSX on my Mac and the Stickies database usually isn’t something I remember to backup, because it’s buried in the app directory. So I have Hazel take a daily backup of it for me and throw it into Dropbox. Email me or leave a comment if you have cool Hazel rules to share.
Add a Folder
Hazel can be used to organize almost any folder, but the best candidates are ones that tend to collect files, such as where your browser downloads files, where Mail puts attachments, or a shared Dropbox folder. Hazel can also use Smart Folders (with minor limitations).
Because folders associated with downloads are among the most common ones to monitor, Hazel offers a shortcut to some of the most common ones, known as Quick Folders. When you begin configuring Hazel, we suggest starting with folders in this category, and then moving on to conventional folders and Smart Folders.
Add a Quick Folder
To add a quick folder, go to Hazel’s “Folders” pane and click the plus button at the bottom of the Folders list. In the dialog that appears, choose a folder from the “Quick Folders” pop-up menu at the bottom and then click “Open.” Your choices are:
- Safari Download Folder: The folder where Safari stores downloads. By default, this is Macintosh HD ▸ Users ▸ your-username ▸ Downloads, but you can change it in “Safari” > “Preferences” > “General” > “File Download Location.”
- Mail Download Folder: The folder in which Mail stores a copy of any attachment you open by double-clicking it in an email message. Like Safari, Mail uses Macintosh HD ▸ Users ▸ your-username ▸ Downloads by default, but you can change it in “Mail” > “Preferences” > “General” > “Downloads Folder.”
- Firefox Download Folder: The folder where Firefox stores downloads (Macintosh HD ▸ Users ▸ your-username ▸ Downloads by default). You can change it in “Firefox” > “Preferences” > “General” > “Downloads”.
- Transmission Download Folder: The folder where Transmission stores completed downloads. You must manually configure this to be a different location from where Transmission stores incomplete downloads, so that Hazel doesn’t operate on files before they’re fully downloaded. To do this, go to “Transmission” > “Preferences” > “Transfers” > “Adding.” Check “Keep incomplete files in” and choose (or create) a folder for in-progress files. Then choose a different folder from the “Default location” pop-up menu just above it. (Don’t use “Same as torrent file,” because that doesn’t refer to a fixed folder that Hazel can track.) The Quick Folder link will then point to Transmission’s “Default location,” which is where completed downloads are kept.
- Chrome Download Folder: The folder where Chrome stores downloads. Like other browsers, Chrome uses Macintosh HD ▸ Users ▸ your-username ▸ Downloads by default. You can change this in “Chrome” > “Preferences” > “Show advanced settings” > “Downloads.”
- Opera Download Folder: The folder where Opera stores downloads. Opera uses Macintosh HD ▸ Users ▸ your-username ▸ Downloads by default, but you can change it in “Opera” > “Preferences” > “Download Location.”
If you use another app to download files regularly, you can add that location as a conventional folder (discussed just ahead). But note that you should not have Hazel watch a folder in which files download over an extended period of time (as is often the case with P2P and BitTorrent clients). Some such apps have an option to move completed downloads to another location—in such cases, you should have Hazel watch that secondary location. For example, Vuze (formerly called Azureus) lets you set this in “Vuze” > “Preferences” > “Files” > “Completion Moving.”
Add a Conventional Folder
https://youngven.weebly.com/pool-tournament-software-for-mac.html. If a folder you want Hazel to watch isn’t in the Quick Folder list, you can add it manually. Go to Hazel’s “Folders” pane and then do either of the following:
- Drag a folder from the Finder into the “Folders” list.
- Click the plus button at the bottom of the “Folders” list. In the dialog that appears, navigate to the folder you want, select it, and click “Open.”
Add a Smart Folder
Hazel can also monitor Smart Folders, which are saved Finder searches. (For example, you might search for files with a certain tag that are also over a given size, and save that search so you can find matching files whenever you like. To learn more, see Apple’s support article Create or modify a Smart Folder.) This means that Hazel can, in theory, monitor any file or folder, anywhere on your Mac—as long as it matches well-defined search criteria.
To add an existing Smart Folder, go to Hazel’s Folders pane and click the plus button at the bottom of the “Folders” list. In the dialog that appears, choose “Saved Searches” from the “Quick Folder” pop-up menu at the bottom to display your Saved Searches folder. (If you’ve stored your Smart Folder somewhere else, navigate to that location instead.) Select the Smart Folder you want, select it, and click “Open.”
Important: Because Smart Folders represent files that may be located anywhere on your Mac, Hazel rules for Smart Folders cannot descend into subfolders or match against subfiles.
Tip: See a Folder’s Full Path
The folder list shows only folder names, not their locations. To see a folder’s full path, hover your pointer over the folder (without clicking). The path appears as a tool tip.
To see a folder in the Finder, right-click (or Control-click) the folder name and choose “Reveal in Finder” from the contextual menu.
Remove a Folder
To remove a folder from Hazel’s Folders list, select it and click the minus button at the bottom of the list. Read the warning that appears and click “Remove” to confirm.
Important: Removing a folder also removes all its rules. If you want to be able to use a rule on another folder, drag it to that folder first. (See Copy or Move a Rule.)
Set Folder OptionsThe lower-right corner of Hazel’s Folders pane has two “Throw away” options that apply to the currently selected folder and enable you to delete files you’re unlikely to need:
- “Duplicate files”: Duplicate files are exact copies of files that were already downloaded to this folder, or that were duplicated in the Finder. These files usually include a number at the end, such as filename-1 or filename(1). When you select the “Duplicate files” checkbox, Hazel automatically removes duplicate files from this folder if they are identical to the original (the version of the file without the added number).
- “Incomplete downloads”: Incomplete downloads occur when a download is aborted or interrupted. Hazel can automatically move these files to the Trash after the time period you set here. (Be sure to set a time period after which you’d be unlikely to resume a download.)
Hazel Mac Rules Download
Note: These checkboxes apply to conventional folders and Quick Folders, but not to Smart Folders.
SEE ALSO
When Hazel checks your rules against the item in a monitored folder, it normally treats files and folders the same—for example, a Move action moves either a file or a folder if it matches your conditions, and a Rename action renames either a file or folder if it matches.
As a result, Hazel normally ignores specific changes inside subfolders of the monitored folder. So, suppose you’re monitoring your Downloads folder, and inside that is a folder called Research. If you have a rule that matches any PDF document and opens it in Preview—and you download a PDF to your Downloads folder, that file will open. But if you download a PDF directly to the Research subfolder, the rule won’t match, because Hazel ignores what goes on inside subfolders, unless you expressly tell it to examine them.
If you want Hazel rules to process the subfolders within a monitored folder, you can of course add those subfolders as monitored folders and create special rules just for them. But that’s not always practical—especially if you don’t know in advance what the subfolders’ names will be, or if there are quite a few of them and you want the same rules to apply to all of them.
Free photo editing apps for mac. To solve this problem, Hazel offers a special action: “Run rules on folder contents.” If a subfolder inside your monitored folder matches a rule containing this action, then the other rules in the list will also apply to that subfolder’s contents.
The easiest way to make a “Go into subfolders” rule is to configure it as follows. (For your convenience, you can download this rule here: subfolder.hazelrules. After you’ve downloaded the rule, open Hazel, select the folder you want to monitor, and drag the rule into its Rules list.)
Hazel Mac Torrent
This rule has just one condition (it matches any folder) and one action (“Run rules on folder contents”).
In many situations, this can be the whole rule. If it looks as though this rule doesn’t actually perform any actions, that’s because it doesn’t need to. Instead, it effectively modifies the behavior of your other rules, making their actions apply to items in subfolders. Therefore, it’s usually best to write all your rules as though they were operating on items at the top level of your monitored folder, and test them to make sure they function as intended. Then add the “Go into subfolders” rule to extend their behavior to items in subfolders of the monitored folder as well as the top level of the monitored folder.
Club penguin island download mac. To demonstrate why and how you might use the “Run rules on folder contents” action, let’s walk through a series of examples.
Imagine Hazel is monitoring a folder in which you often place music and image files. You initially have two rules: one that moves audio files to your Music folder and another that moves image files to your Pictures folder. Your rules might look like this:
These rules work fine for individual files, but what if you drop a folder full of images or audio files into your monitored folder? Nothing would happen, because by default, Hazel matches only top-level items in the monitored folder, and the folder containing images or audio files does not, itself, match your rules. So you can add a third rule—the “Go into subfolders” rule described above:
This new rule makes the other rules for this folder apply to subfolders as well. Download you tv player for mac. So now if you drag a folder of photos into your monitored folder, they’re all moved to Pictures, and if you drag a folder of MP3s into your monitored folder, they’re all moved to Music. Your existing rules did not have to change at all; they merely had their scope of operation expanded.
So far so good, but now you may find that your monitored folder contains empty subfolders! That’s because Hazel moved their contents (photos or audio files) to other locations. If you want to delete the empty subfolders, you can add a fourth rule—call it “Delete empty folders.” It would look like this:
But wait! This new rule matches folders (because of the condition “Kind is Folder”) and so does the “Go into subfolders” rule. By default, Hazel applies only the first matching rule in the list to any given item (see Understand the Logic of Rules), so if “Go into subfolders” comes before “Delete empty folders,” then the “Delete empty folders” rule will never run, because all folders will already have been matched. So, since this new rule is more specific (it applies only to certain folders, not all folders), we put it before “Go into subfolders,” like so:
Let’s walk through how this will work. Suppose you drag a folder called “My Tunes” into your monitored folder. The presence of the “Go into subfolders” rule in the list means that each of the other rules will apply to folders within the monitored folder, so the “Move audio files to Music” rule runs and moves the files out of the “My Tunes” folder. Then the “Delete empty folders” rule matches the now-empty “My Tunes” folder and moves it to the Trash. But if the “Delete empty folders” rule had come after “Go into subfolders,” it would never have had a chance to run, because the “Go into subfolders” rule itself would already have matched that folder. (Another way to achieve the desired result would be to keep the “Go into subfolders” rule first, but add the “Continue matching rules” action to it, so that a match won’t block later rules from applying as well.)
To take this example even further, suppose we want only some folders in our monitored folder to be processed this way. For example, you want the first two rules to operate only on files inside folders whose names start with the word “Media.” To do this, you could modify the “Go into subfolders” rule by adding a second condition that specifies the folder name:
Once you’ve made that change, dragging a “Media Collection” folder into the monitored folder will trigger the rule, whereas dragging a “My photos and music” folder into the monitored folder will not.
Processing subfolders can get tricky, so here are a few tips you should keep in mind:
- Keep your “Go into subfolders” rule separate from your other rules—there’s no need to combine everything into a single rule, and trying to do so is likely to produce undesirable results.
- The “Run rules on folder contents” action will fail if it acts on anything other than a folder. Be sure you use a Kind is Folder condition (as shown above) to ensure that non-folder items do not match. And don’t add conditions or actions to your “Go into subfolders” rule that refer to files—leave those for other rules. (If the rule is matching a file and doing something with it, then it can’t match a folder as well.)
- Running rules on folder contents is recursive—that is, Hazel will keep going into subfolders of subfolders of subfolders (and so on) unless you tell it not to. If you want a specific rule (that is, a rule that comes after “Go into subfolders” in your list) to stop at a certain subfolder depth, add a condition to that rule with the attribute “Subfolder depth”—for example, “Subfolder depth is greater than 2.” (In this context, a depth of 0 means the top level of the monitored folder. An item at the top of a subfolder within the monitored folder will have depth 1, and so on.) If you want to be sure all your rules stop at a certain subfolder depth, add the “Subfolder depth” condition to the “Go into subfolders” rule above.
- Hazel runs rules on folder contents in order, from the top down. That is, if it matches Folder A at the top level of your monitored folder, it then works its way through everything in Folder A, and if one of those items is Folder B (which also matches), it then goes through everything in Folder B and so on. When it’s finished with Folder B’s contents, it pops back up to Folder A and finishes checking its remaining contents, and when it’s finished with those, it pops up another level to finish checking whatever’s left at the top level of the monitored folder.
- If the monitored folder has a very deep hierarchy of subfolders, processing them repeatedly can take a long time and can negatively affect Hazel’s performance. For best results, use this approach on relatively shallow folder hierarchies, or use the “Subfolder depth” attribute to limit how deep the rules go.
- As a reminder, a good rule of thumb is to first create rules that will process files as if they were at the top level of the monitored folder, and then add the rule above to tell Hazel to go into subfolders.
![Hazel Mac Rules Hazel Mac Rules](/uploads/1/2/6/2/126213900/196936728.jpg)
![Hazel Mac Rules Hazel Mac Rules](/uploads/1/2/6/2/126213900/959788917.jpg)
SEE ALSO