Sync Rules

In addition to exporting and importing rules (each of which is a one-time procedure), you can sync all the rules for a given folder to an external file, such that whenever your rules change in Hazel, that file changes—and whenever that file changes, Hazel updates its rules. Syncing your rules to an external file enables you to share them with other user accounts on your Mac (as long as the file is stored in a folder all users can access) or with other Macs (if the file is stored in a location all the Macs can access, such as Dropbox, iCloud Drive, or a network server). You can even use this mechanism to sync the same set of rules between two different folders in this copy of Hazel.

When syncing rules, the following considerations apply:

Configuring rule sync is a two-step process (for each folder you want to sync). First you set up a sync file. Then, for each additional instance of Hazel you want to sync, you set up a folder to use that file for its rules.

To set up a sync file:

A sync   icon appears next to the folder name to indicate that its rules are being synced.

To sync rules with another folder:

A sync   icon appears next to the folder name to indicate that its rules are being synced, and the rules from the sync file appear in the “Rules” list for that folder.

Any changes to the synced rules that you make in one instance of Hazel will now apply to the other as well.

Note:  If an error occurs in syncing, reading, or writing the rules, an error icon   appears. Hover over this icon with your pointer to see details about the error.

To stop syncing rules with another folder:

The rules for this folder are now detached and will no longer sync.

SEE ALSO

Import Rules

Export Rules

Enable, Disable, or Pause Rules