I have a need to sync two directories on OSX. I find this post recommending using unison.
I tried unison, it seems it can sync two directories very well. But it doesn't do synchronization automatically( always keep two directories synced when there's any change ).
So I guess to accomplish my purpose, unison should be used with a trigger which will watch changes and notify unison to do its work.
But how to do that? Any recommendation and tutorial?