Mention `--protect-args` in `--chown` info.
authorWayne Davison <wayne@opencoder.net>
Sun, 26 Jul 2020 07:59:51 +0000 (00:59 -0700)
committerWayne Davison <wayne@opencoder.net>
Sun, 26 Jul 2020 08:02:07 +0000 (01:02 -0700)
rsync.1.md

index 7a73faa01fe2a1b6287a88db3757f3d9c9301ac5..18afe10288957bd88d61bf9d132c34590db80c48 100644 (file)
@@ -2584,6 +2584,8 @@ your home directory (remove the '=' for that).
     option to have any effect, the `-g` (`--groups`) option must be used (or
     implied), and the receiver will need to have permissions to set that group.
 
+    If your shell complains about the wildcards, use `--protect-args` (`-s`).
+
 0.  `--chown=USER:GROUP`
 
     This option forces all files to be owned by USER with group GROUP.  This is
@@ -2594,7 +2596,8 @@ your home directory (remove the '=' for that).
     USER is empty, a leading colon must be supplied.
 
     If you specify "`--chown=foo:bar`", this is exactly the same as specifying
-    "`--usermap=*:foo --groupmap=*:bar`", only easier.
+    "`--usermap=*:foo --groupmap=*:bar`", only easier.  If your shell complains
+    about the wildcards, use `--protect-args` (`-s`).
 
 0.  `--timeout=SECONDS`