lsyncd

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

Install

All systems
curl cmd.cat/lsyncd.sh
Debian Debian
apt-get install lsyncd
Ubuntu
apt-get install lsyncd
Alpine
apk add lsyncd
image/svg+xml Kali Linux
apt-get install lsyncd
Fedora
dnf install lsyncd
Windows (WSL2)
sudo apt-get update sudo apt-get install lsyncd
OS X
brew install lsyncd
Raspbian
apt-get install lsyncd
Docker
docker run cmd.cat/lsyncd lsyncd powered by Commando

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

  • Watch the source for changes and run `rsync` to synchronize files to the destination on every change:
    lsyncd -rsync path/to/source host::share_name
  • Use SSH instead of `rsyncd` shares:
    lsyncd -rsyncssh path/to/source host path/to/destination

© tl;dr; authors and contributors