From: Wayne Davison Date: Sun, 22 Jun 2014 16:41:17 +0000 (-0700) Subject: Add a clarification about shell wildcard expansion. X-Git-Tag: v3.1.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61e74afc420b95bea28e8a75632fc1d749b599b8;p=thirdparty%2Frsync.git Add a clarification about shell wildcard expansion. --- 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))