![mac sync folders automatically mac sync folders automatically](http://www.komorian.com/wordpress/wp-content/uploads/2012/01/Dropbox-settings-Mac.jpg)
![mac sync folders automatically mac sync folders automatically](https://www.rawinfopages.com/mac/sites/default/files/sites/default/files/images/freefilesync1.jpg)
Regardless of the conditions, the “Sync” action itself behaves the same way. If you prefer, you can use entirely different conditions (such as Current Time is 12:00 AM any day) to specify a different schedule or frequency. Note that the conditions shown here merely tell Hazel when to sync (in this case, whenever the subfolder is modified). When Hazel detects changes in that folder-or in any of the subfiles or subfolders within it-the “Sync” rule runs, copying the contents of the synced folder to the destination folder. This rule looks for a folder inside the monitored folder with the name you specify. Then edit the rule and replace the name of the “Synced Folder” and the “Destination Folder” with the folders you want to sync. After you’ve downloaded the rule, open Hazel, select the folder you want to monitor (that is, the folder that contains the folder you want to sync), and drag the rule into its “Rules” list.
#Mac sync folders automatically download
You can create this rule manually (be sure to read Using Nested Conditions for help with the last four lines in the “conditions” section), or, if you prefer, you can download this rule using the following link: sync.hazelrules. The rule that performs this sort of sync looks like this: Syncing is only one-way changes in the “Synced Folder” subfolder of “Destination Folder” do not sync back to “Synced Folder” in the “Monitored Folder.” That is, the contents of “Synced Folder” don’t sync directly to the top level of “Destination Folder,” but rather to subfolder “Synced Folder” within “Destination Folder.” Anything deleted from “Synced Folder” in the monitored folder is deleted from the “Synced Folder” at the destination. To be clear, if the monitored folder is “Monitored Folder” in the example below, the folder you want to sync-inside the monitored folder-is called “Synced Folder” and the destination is “Destination Folder,” the result after syncing will look like this: Here’s how you can set up Hazel to sync an entire subfolder of a monitored folder, including deletions. However, a side-effect of this approach (which may or may not be to your liking) is that the destination folder must contain a copy of the entire subfolder being synced-not just its contents-as described below. And, as a result, any files deleted from the source will also disappear from the destination. Once the subfolder matches your condition(s) and syncs, its entire list of files is processed. This works because, from Hazel’s point of view, the list of files in a folder is a property of that folder. You can work around this limitation by using a rule that looks for any change in a subfolder of the monitored folder. That’s because Hazel’s rules normally operate only on files and folders that match your conditions, and the absence of a file that previously existed in the monitored folder is not something a condition can match. Hazel was not designed for two-way sync, and it does not have the capability to handle conflicts and other complex situations the way a dedicated sync app such as ChronoSync can, nor will its syncing performance be anywhere close to that of a dedicated app.ĭeletions are not synced (by default): If a rule syncs files in the monitored folder with another folder, and then you delete an already-synced file from the monitored folder, that file will not disappear from the destination folder. Although you could in theory create mutual syncing rules for both source and destination folders, we recommend against doing this. One-way syncing only: Syncing in Hazel is one-way files changed in the destination folder are not copied back to the monitored folder. Syncing items in Hazel differs from how some utilities use the word “sync.” You’ll get better results with the Sync action if you understand its limitations. So you can think of it as being like a smarter or more efficient Copy. Hazel’s Sync action copies items from the monitored folder to another folder-but unlike the Copy action, Sync copies only those items that have been added since the last time the rule ran.