X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/2c5548d25e4e62819a4eb906b85d62f134782681..5aafd07b37b997696f81d98f4c0c54aab0f98041:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 53de2f3b..d4209ab4 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1,5 +1,5 @@ mailto(rsync-bugs@samba.org) -manpage(rsync)(1)(3 Mar 2001)()() +manpage(rsync)(1)(29 May 2001)()() manpagename(rsync)(faster, flexible replacement for rcp) manpagesynopsis() @@ -276,7 +276,11 @@ verb( --log-format=FORMAT log file transfers using specified format --password-file=FILE get password from FILE --bwlimit=KBPS limit I/O bandwidth, KBytes per second + -f, --read-batch=FILE read batch file + -F, --write-batch write batch file -h, --help show this help screen + + ) manpageoptions() @@ -395,8 +399,11 @@ are in the list of files being sent. This option can be quite slow, so only use it if you need it. dit(bf(-W, --whole-file)) With this option the incremental rsync algorithm -is not used and the whole file is sent as-is instead. This may be -useful when using rsync with a local machine. +is not used and the whole file is sent as-is instead. The transfer may be +faster if this option is used when the bandwidth between the source and +target machines is higher than the bandwidth to disk (especially when the +"disk" is actually a networked file system). This is the default when both +the source and target are on the local machine. dit(bf(-p, --perms)) This option causes rsync to update the remote permissions to be the same as the local permissions. @@ -578,7 +585,7 @@ temporary destination until they have a chance to be completed. If DIR is a relative path, it is relative to the destination directory. dit(bf(-z, --compress)) With this option, rsync compresses any data from -the source file(s) which it sends to the destination machine. This +the files that it sends to the destination machine. This option is useful on slow links. The compression method used is the same method that gzip uses. @@ -672,6 +679,11 @@ transfer was too fast, it will wait before sending the next data block. The result is an average transfer rate equalling the specified limit. A value of zero specifies no limit. +dit(bf(--read-batch)) Apply a previously generated change batch. + +dit(bf(--write-batch)) Generate a set of files that can be transferred +as a batch update. + enddit() manpagesection(EXCLUDE PATTERNS) @@ -762,6 +774,29 @@ itemize( it would be excluded by the "*") ) +manpagesection(BATCH MODE) + +The following call generates 4 files that encapsulate the information +for synchronizing the contents of bf(target_dir) with the updates found in +bf(src_dir) + +quote( +$ rsync -F [other rsync options here] \nl() + /somewhere/src_dir /somewhere/target_dir +) + +The generated files are labeled with a common timestamp: + +itemize( +it() bf(rsync_argvs.) command-line arguments +it() bf(rsync_flist.) rsync internal file metadata +it() bf(rsync_csums.) rsync checksums +it() bf(rsync_delta.) data blocks for file update & change +) + +See bf(http://www.ils.unc.edu/i2dsi/unc_rsync+.html) for papers and technical +reports. + manpagesection(DIAGNOSTICS) rsync occasionally produces error messages that may seem a little