User's manual. Section 1.

ZXSYNC(1): synchronize a replica


USAGE

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

SEE ALSO


User's manual. Section 1.