rsync -aE -delete "source" "target"
add it to automator with Folder Action -> Utilities
Tags: [ bash, mac ]
bash,
mac