summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2014-06-22 09:41:17 -0700
committerWayne Davison <wayned@samba.org>2014-06-22 09:41:17 -0700
commit61e74afc420b95bea28e8a75632fc1d749b599b8 (patch)
tree61275f4a39fb7a216ca4c02016e3eb876f52df78
parent0466e46b9fc3d32f383dcddc534059bd7eec7395 (diff)
downloadrsync-61e74afc420b95bea28e8a75632fc1d749b599b8.tar.gz
Add a clarification about shell wildcard expansion.
-rw-r--r--rsync.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/rsync.yo b/rsync.yo
index c80610d6..40b80570 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -103,7 +103,10 @@ This would transfer all files matching the pattern *.c from the
current directory to the directory src on the machine foo. If any of
the files already exist on the remote system then the rsync
remote-update protocol is used to update the file by sending only the
-differences. See the tech report for details.
+differences in the data. Note that the expansion of wildcards on the
+commandline (*.c) into a list of files is handled by the shell before
+it runs rsync and not by rsync itself (exactly the same as all other
+posix-style programs).
quote(tt(rsync -avz foo:src/bar /data/tmp))