How can I set up an instant file sync for two local directories? The catch is I need it in real time (15, 10 or even 5 seconds is too slow), and I don't want the target root directory created.
For example, something similar to...
cp -fr sourcea/* /some/destdir cp -fr sourceb/* /some/destdir cp -fr sourcec/* /some/destdir
Catching deletions would be nice too, though it's not a deal breaker.
I do not want the "sourcex" created within destdir. (hence the *). I've tried using rsync, which apparently wasn't close or even close to real-time, as well as several generic sync systems. However, most will want a 1 to 1 sync, rather than contents only.
Any suggestions? I've been fighting this for a while now, so any help would be greatly appreciated!