ZXSYNC(1): synchronize a replica
usage: zxsync [-Dnuv] [file] -D: debug -n: dry run -u: don't use unix out -v: verbose
DESCRIPTIONZxsync both pulls and pushes changes for a remote tree and a local replica. It compares local and remote changes and decides which changes must be pushed and which ones must be pulled. The newest change wins if there is a conflicting change. File removes are noted and using the modification time for their directory. If a directory is added or removed, inner files and directories are added or removed as well no matter if the other replica has changes for such inner files. See zxrepl(1) for usage examples.
If no argument is given, zxsync synchronizes all
replicas found at
When given, the file argument names the replica
and the database files. The replica is the basename for
file. The local database file is
file with "
appended. The remote database file is file with
.rdb" appended. If file
does not contain "
/u/lib/repl/" is prepended to it.
Metadata changes at the root of the replica are always ignored.