All I want is a sync (frustrated)

I usually try and figure things out for myself but I'm really busy and I've spent time on this and am just fed up --- surely this is easy and I just don't get it. thanks in advance for your help.
my situation is that I have a folder tree of documents (nothing special, nothing particularly big -- mostly docs, pdfs, some images). I want to sync all of that into another directory (it's actually Boxcryptor which is then encrypting the files into a OneDrive account -- I don't think this is an issue but I'm not 100% sure.)
so, what I want (and I assume this is all part of the 'sync' function):
- if I add a file to the source folder tree I want that copied to the target tree
- if I create a folder in the source, I want that mirrored in the target
- if I rename or edit a file or folder, I want that reflected in the target
- if I delete a file or folder, I want that mirrored in the target
in other words, the target should be an exact copy of the target.
here's the rule I have. (I down loaded a number of rulesets from the forums and none worked for me):
my situation is that I have a folder tree of documents (nothing special, nothing particularly big -- mostly docs, pdfs, some images). I want to sync all of that into another directory (it's actually Boxcryptor which is then encrypting the files into a OneDrive account -- I don't think this is an issue but I'm not 100% sure.)
so, what I want (and I assume this is all part of the 'sync' function):
- if I add a file to the source folder tree I want that copied to the target tree
- if I create a folder in the source, I want that mirrored in the target
- if I rename or edit a file or folder, I want that reflected in the target
- if I delete a file or folder, I want that mirrored in the target
in other words, the target should be an exact copy of the target.
here's the rule I have. (I down loaded a number of rulesets from the forums and none worked for me):
- Code: Select all
if any of the following conditions are met
date last modified is after date last matched
date added is in the last 5 minutes
full name did change
any file
do the following to the matched file or folder:
sync into folder [foo]
frankly, I'm not convinced this is working 100% and I have to think there's a better way. (I also have a separate rule to handle any files at the root of the tree as these don't seem to be handled by the above rule).
please tell me: what's the best and most flawless way to do this? I love the idea of Hazel and look forward to use it for other things but I'm incredibly busy right now and need this to work... thank you and I'm sorry if I'm just an idiot.