From: Wayne Davison Date: Mon, 20 Jun 2022 00:21:03 +0000 (-0700) Subject: A few minor fixes. X-Git-Tag: v3.2.5pre1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1e42ffa1680b65bc878ab5a6cbfd12bf6345b9b;p=thirdparty%2Frsync.git A few minor fixes. --- diff --git a/rsync.1.md b/rsync.1.md index 9c149b31..1ab014f1 100644 --- a/rsync.1.md +++ b/rsync.1.md @@ -3822,7 +3822,7 @@ existing on the remote host: Aside: this copy could also have been accomplished using the [`-R`](#opt) option (though the 2 commands behave differently if deletions are enabled): -> rsync -aR x/y/file.txt host:/tmp/ +> rsync -aiR x/y/file.txt host:/tmp/ The following command does not need an include of the "x" directory because it is not a part of the transfer (note the traililng slash). Running this command @@ -3833,7 +3833,7 @@ would copy just "`/tmp/x/file.txt`" because the "y" and "z" dirs get excluded: This command would omit the zzz.txt file while copying "x" and everything else it contains: -> rsync -aiv -f'- zzz.txt' x host:/tmp/ +> rsync -ai -f'- zzz.txt' x host:/tmp/ ### FILTER RULES WHEN DELETING @@ -3872,8 +3872,8 @@ Rsync supports old-style include/exclude rules and new-style filter rules. The older rules are specified using [`--include`](#opt) and [`--exclude`](#opt) as well as the [`--include-from`](#opt) and [`--exclude-from`](#opt). These are limited in behavior but they don't require a "-" or "+" prefix. An old-style -exclude rule is turned into a `+ name` filter rule (with no modifiers) and an -old-style include rule is turned into a `- name` filter rule (with no +exclude rule is turned into a "`- name`" filter rule (with no modifiers) and an +old-style include rule is turned into a "`+ name`" filter rule (with no modifiers). Rsync builds an ordered list of filter rules as specified on the command-line @@ -3905,7 +3905,7 @@ Here are the available rule prefixes: Equivalent to a receiver-only exclude, so `-f'P foo'` could also be specified as `-f'-r foo'`. 0. `risk, 'R'` files that match the pattern are not protected. Equivalent to a - receiver-only include, so `-f'P foo'` could also be specified as `-f'+r + receiver-only include, so `-f'R foo'` could also be specified as `-f'+r foo'`. 0. `clear, '!'` clears the current include/exclude list (takes no arg)