X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/662127e6c73dee8e739eb7f3bcb0cba0bc890d3e..4c248a3615f40bb829b5f59aa57ce6fb5369d1f6:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 9ccd6ad0..4e61ea62 100644 --- a/rsync.yo +++ b/rsync.yo @@ -378,8 +378,8 @@ to the detailed description below for a complete description. verb( --sockopts=OPTIONS specify custom TCP options --blocking-io use blocking I/O for the remote shell --stats give some file-transfer stats + -8, --8-bit-output leave high-bit chars unescaped in output -h, --human-readable output numbers in a human-readable format - --si like human-readable, but use powers of 1000 --progress show progress during transfer -P same as --partial --progress -i, --itemize-changes output a change-summary for all updates @@ -1394,12 +1394,22 @@ dit(bf(--stats)) This tells rsync to print a verbose set of statistics on the file transfer, allowing you to tell how effective the rsync algorithm is for your data. -dit(bf(-h, --human-readable)) Output numbers in a more human-readable format. -Large numbers may be output in larger units, with a K (1024), M (1024*1024), -or G (1024*1024*1024) suffix. +dit(bf(-8, --8-bit-output)) This tells rsync to leave all high-bit characters +unescaped in the output instead of trying to test them to see if they're +valid in the current locale and escaping the invalid ones. All control +characters (but never tabs) are always escaped, regardless of this option's +setting. + +The escape idiom that started in 2.6.7 is to output a literal backslash (\) +and a hash (#), followed by exactly 3 octal digits. For example, a newline +would output as "\#012". A literal backslash that is in a filename is not +escaped unless it is followed by a hash and 3 digits (0-9). -dit(bf(--si)) Similar to the bf(--human-readable) option, but using powers -of 1000 instead of 1024. +dit(bf(-h, --human-readable)) Output numbers in a more human-readable format. +This makes big numbers output using larger units, with a K, M, or G suffix. If +this option was specified once, these units are K (1000), M (1000*1000), and +G (1000*1000*1000); if the option is repeated, the units are powers of 1024 +instead of 1000. dit(bf(--partial)) By default, rsync will delete any partially transferred file if the transfer is interrupted. In some circumstances