From 61e74afc420b95bea28e8a75632fc1d749b599b8 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 22 Jun 2014 09:41:17 -0700 Subject: Add a clarification about shell wildcard expansion. --- rsync.yo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3