X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/99534debc8e4b2daa187638fe3e3d107c72c085d..e9357a2deb1adbeb8dd50f90f959a3ecd5f88806:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 1b2ab0b5..06cdc61a 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1,5 +1,5 @@ mailto(rsync-bugs@samba.org) -manpage(rsync)(1)(8 Feb 2006)()() +manpage(rsync)(1)(19 Feb 2006)()() manpagename(rsync)(faster, flexible replacement for rcp) manpagesynopsis() @@ -11,6 +11,8 @@ rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST rsync [OPTION]... SRC [SRC]... rsync://[USER@]HOST[:PORT]/DEST +rsync [OPTION]... SRC + rsync [OPTION]... [USER@]HOST:SRC [DEST] rsync [OPTION]... [USER@]HOST::SRC [DEST] @@ -57,8 +59,8 @@ host specification, OR when an rsync:// URL is specified (see also the "USING RSYNC-DAEMON FEATURES VIA A REMOTE-SHELL CONNECTION" section for an exception to this latter rule). -As a special case, if a remote source is specified without a destination, -the remote files are listed in an output format similar to "ls -l". +As a special case, if a single source arg is specified without a +destination, the files are listed in an output format similar to "ls -l". As expected, if neither the source or destination path specify a remote host, the copy occurs locally (see also the bf(--list-only) option). @@ -470,19 +472,21 @@ transferring to or from an MS Windows FAT filesystem (which represents times with a 2-second resolution), bf(--modify-window=1) is useful (allowing times to differ by up to 1 second). -dit(bf(-c, --checksum)) This forces the sender to checksum every file using -a 128-bit MD4 checksum before the transfer (during the initial file-system -scan). The receiver then checksums every existing file that has the same -size as its sender-side counterpart in order to decide which files need to -be transferred: files with either a changed size or changed checksum are +dit(bf(-c, --checksum)) This forces the sender to checksum em(every) +regular file using a 128-bit MD4 checksum. It does this during the initial +file-system scan as it builds the list of all available files. The receiver +then checksums its version of each file (if it exists and it has the same +size as its sender-side counterpart) in order to decide which files need to +be updated: files with either a changed size or a changed checksum are selected for transfer. Since this whole-file checksumming of all files on both sides of the connection occurs in addition to the automatic checksum -verifications that occur during and after a file's transfer, this option -can be quite slow. +verifications that occur during a file's transfer, this option can be quite +slow. -Note that rsync always uses a whole-file checksum to verify that each -transferred file was reconstructed correctly, irrespective of this or -any other option's setting. +Note that rsync always verifies that each em(transferred) file was correctly +reconstructed on the receiving side by checking its whole-file checksum, but +that automatic after-the-transfer verification has nothing to do with this +option's before-the-transfer "Does this file need to be updated?" check. dit(bf(-a, --archive)) This is equivalent to bf(-rlptgoD). It is a quick way of saying you want recursion and want to preserve almost @@ -1610,12 +1614,12 @@ single line. dit(bf(--list-only)) This option will cause the source files to be listed instead of transferred. This option is inferred if there is no destination -specified, so you don't usually need to use it explicitly. However, it can -come in handy for a user that wants to avoid the "bf(-r --exclude='/*/*')" -options that rsync might use as a compatibility kluge when generating a -non-recursive listing, or to list the files that are involved in a local -copy (since the destination path is not optional for a local copy, you -must specify this option explicitly and still include a destination). +specified, so its main uses are: (1) to turn a copy command that includes a +destination arg into a file-listing command, (2) to be able to specify more +than one local source arg (note: be sure to include the destination), or +(3) to avoid the automatically added "bf(-r --exclude='/*/*')" options that +rsync usually uses as a compatibility kluge when generating a non-recursive +listing. dit(bf(--bwlimit=KBPS)) This option allows you to specify a maximum transfer rate in kilobytes per second. This option is most effective when @@ -2439,7 +2443,7 @@ url(http://rsync.samba.org/)(http://rsync.samba.org/) manpagesection(VERSION) -This man page is current for version 2.6.7pre1 of rsync. +This man page is current for version 2.6.7pre2 of rsync. manpagesection(CREDITS)