ZXSYNC(1): synchronize a replica
__________________________________________________
USAGE
usage: zxsync [-Dnuv] [file]
-D: debug
-n: dry run
-u: don't use unix out
-v: verbose
DESCRIPTION
Zxsync 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 /u/lib/repl.
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 '.ldb' appended. The remote database file is
file with '.rdb' appended. If file does not contain '/' then
'/u/lib/repl/' is prepended to it.
Metadata changes at the root of the replica are always ignored.
SOURCE
+o /zx/sys/src/clive/cmd/zxsync
SEE ALSO
+o zxrepl(1) to create replicas.
+o zxpull(1) to pull changes.
+o zxpush(1) to push changes.
__________________________________________________
User's manual. Section 1. Copyright © LSUB 2014-2016