X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/2df20057e34db58c8caa37def9321e33acfa56fd..f8605c5b89720a09b8aa0d5e7aa3ea27b1ebbf4f:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 1eb827db..941f7a58 100644 --- a/rsync.yo +++ b/rsync.yo @@ -370,11 +370,13 @@ to the detailed description below for a complete description. verb( --remove-source-files sender removes synchronized files (non-dir) --del an alias for --delete-during --delete delete extraneous files from dest dirs - --delete-before receiver deletes before transfer (default) - --delete-during receiver deletes during xfer, not before + --delete-before receiver deletes before xfer, not during + --delete-during receiver deletes during transfer (default) --delete-delay find deletions during, delete after --delete-after receiver deletes after transfer, not before --delete-excluded also delete excluded files from dest dirs + --ignore-missing-args ignore missing source args without error + --delete-missing-args delete missing source args from destination --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 +1265,23 @@ 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(--ignore-missing-args)) When rsync is first processing the explicitly +requested source files (e.g. command-line arguments or bf(--files-from) +entries), it is normally an error if the file cannot be found. This option +suppresses that error, and does not try to transfer the file. This does not +affect subsequent vanished-file errors if a file was initially found to be +present and later is no longer there. + +dit(bf(--delete-missing-args)) This option takes the behavior of (the implied) +bf(--ignore-missing-args) option a step farther: each missing arg will become +a deletion request of the corresponding destination file on the receiving side +(should it exist). If the destination file is a non-empty directory, it will +only be successfully deleted if --force or --delete are in effect. Other than +that, this option is independent of any other type of delete processing. + +The missing source files are represented by special file-list entries which +display as a "*missing" entry in the bf(--list-only) output. + dit(bf(--ignore-errors)) Tells bf(--delete) to go ahead and delete files even when there are I/O errors. @@ -2141,15 +2160,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 +2192,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.