/auto-rsync

Auto RSync by watch filesystem events.

Primary LanguagePython

auto-rsync

Auto RSync files by watch filesystem events.

INSTALLATION

use pip

$ [sudo] pip install auto-rsync

use pipsi (recommend)

$ pipsi install auto-rsync

USAGE

$ 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.

EXAMPLE

$ auto-rsync ./test username@host:/home/username/test --rsync-options='--delete --excludes=*.pyc'