From 91eaffe13f29e9a42032a9f1cd2983e09d7b1ec9 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 26 Jul 2020 00:59:51 -0700 Subject: [PATCH] Mention `--protect-args` in `--chown` info. --- rsync.1.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rsync.1.md b/rsync.1.md index 7a73faa0..18afe102 100644 --- a/rsync.1.md +++ b/rsync.1.md @@ -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` -- 2.47.2