Moderator: Mr_Noodle
Mr_Noodle wrote:Here's a basic sync rule. It looks complicated but that's because it's very complete.
The first thing you should know is that if you want to sync a folder and all its contents, you need to have Hazel monitor the folder containing that folder you want to sync. Then you create a rule to match the folder you want to sync. In the rule I've attached, it matches against a folder named "blah". Change that to suit your situation.
The rule then matches if (a) the folder itself has changed or (b) any of its subfiles has changed. As a result, this will do a sync every time anything is modified. If it's a big folder tree, you may want to add a condition to do it less frequently, like "Date matched is not in the last 10 minutes", so that it doesn't bog things down. Alternatively, you can sync on a schedule using the Current Time attribute and get rid of all the conditions relating to date modified.
EDIT (8/14/12): The older version of the rule had an error in it. Re-download if you downloaded it before.