rsyncer
v0.0.7
Published
Continuous rsync runner.
Downloads
4
Readme
rsyncer
A continuous rsync
runner to keep local and remote directories in sync. It watches the source directory tree for any changes, and immediately invokes the specified rsync command.
Config
Options are read from config.json
. It currently supports the following two properties:
paths
- An array of objects, each with the following properties:src
- The source file or directory to watch.dst
- The destination file or directory to write to.args
- (optional) An array of string arguments that will be passed directly torsync
.
args
- (optional) An array of string arguments, that will be passed directly torsync
. These will be the default set of args passed to all paths that do not haveargs
defined. Ifargs
is defined on both the path, and the top level, only the path'sargs
will be used.