Auto RSync files by watch filesystem events.
$ [sudo] pip install auto-rsync
use pipsi (recommend)
$ pipsi install auto-rsync
$ auto-rsync --help
Usage: auto_rsync.py [OPTIONS] LOCAL_PATH REMOTE_PATH
Options:
--observer-timeout INTEGER The observer timeout, default 1
--rsync-options TEXT rsync command options
--help Show this message and exit.
$ auto-rsync ./test username@host:/home/username/test --rsync-options='--delete --excludes=*.pyc'