Lsyncd

From wikinotes

A daemon that watches a directory on your filesystem, and uses rsync to sync changed files to another dir, or a remote location.

Locations

github https://axkibe.github.io/lsyncd/manual/config/layer4/

Usage

Define a configfile with the sync jobs you would like to start.

sync {
	default.rsync,
	source = '/home/vagrant/progs/maya/m2014',
	target = '/devsync/mfw/scripts',
	exclude = {'.git','.tox','pythonScriptLib/mfw2/.tox'},
}

sync {
...
}
lsyncd myconfig.lua      ## run all jobs defined in config