X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/416cef36e98fc2ce2c75bd76b8e97d892a3d88b8..e6f3a33c5e932dc82d487b55a3b12ed7aa5a90f5:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 5eb69ee1..2ff224f4 100644 --- a/rsync.yo +++ b/rsync.yo @@ -375,6 +375,7 @@ to the detailed description below for a complete description. verb( --delete-delay find deletions during, delete after --delete-after receiver deletes after transfer, not before --delete-excluded also delete excluded files from dest dirs + --delete-missing-args receiver deletes each missing source arg --ignore-errors delete even if there are I/O errors --force force deletion of dirs even if not empty --max-delete=NUM don't delete more than NUM files @@ -1263,6 +1264,13 @@ this way on the receiver, and for a way to protect files from bf(--delete-excluded). See bf(--delete) (which is implied) for more details on file-deletion. +dit(bf(--delete-missing-args)) Any source arg that is found to me missing is +treated as a request to delete the file by the receiver rather than the sender +generating a missing-file error. Does not affect vanished files discovered +through recursive scanning of directories, just the args mentioned on the +command-line or in the bf(--files-from) list. Can be used with or without any +other type of delete processing. + dit(bf(--ignore-errors)) Tells bf(--delete) to go ahead and delete files even when there are I/O errors. @@ -2141,15 +2149,25 @@ was finishing the matched part of the file. When the file transfer finishes, rsync replaces the progress line with a summary line that looks like this: -verb( 1238099 100% 146.38kB/s 0:00:08 (xfer#5, to-check=169/396)) +verb( 1,238,099 100% 146.38kB/s 0:00:08 (xfr#5, to-chk=169/396)) -In this example, the file was 1238099 bytes long in total, the average rate +In this example, the file was 1,238,099 bytes long in total, the average rate of transfer for the whole file was 146.38 kilobytes per second over the 8 seconds that it took to complete, it was the 5th transfer of a regular file during the current rsync session, and there are 169 more files for the receiver to check (to see if they are up-to-date or not) remaining out of the 396 total files in the file-list. +In an incremental recursion scan, rsync won't know the total number of files +in the file-list until it reaches the ends of the scan, but since it starts to +transfer files during the scan, it will display a line with the text "ir-chk" +(for incremental recursion check) instead of "to-chk" until the point that it +knows the full size of the list, at which point it will switch to using +"to-chk". Thus, seeing "ir-chk" lets you know that the total count of files +in the file list is still going to increase (and each time it does, the count +of files left to check will increase by the number of the files added to the +list). + dit(bf(-P)) The bf(-P) option is equivalent to bf(--partial) bf(--progress). Its purpose is to make it much easier to specify these two options for a long transfer that may be interrupted. @@ -2163,7 +2181,8 @@ order to use bf(--info=progress2).) dit(bf(--password-file)) This option allows you to provide a password in a file for accessing an rsync daemon. The file must not be world readable. -It should contain just the password as a single line. +It should contain just the password as the first line of the file (all +other lines are ignored). This option does not supply a password to a remote shell transport such as ssh; to learn how to do that, consult the remote shell's documentation.