lsyncd Command Examples

Watch files and directories and run rsync when they change. It is often used to keep two directories on separate systems in sync, ensuring that changes made in one directory are immediately mirrored to the other. More information: https://github.com/lsyncd/lsyncd.

lsyncd -rsync {{path/to/source}} {{host::share_name}}

lsyncd -rsyncssh {{path/to/source}} {{host}} {{path/to/destination}}