Why would any REMOTE WILDCARD = "No match" ???

Martin Pool mbp at sourcefrog.net
Fri Mar 1 07:20:35 EST 2002


On 28 Feb 2002, Mark Santcroos <marks at ripe.net> wrote:
> On Thu, Feb 28, 2002 at 07:02:01AM -0800, Derek Sivers wrote:
> > But THIS immediately shoot back a "No match" error:
> > rsync -avze ssh derek at mydomain.com:/home/derek/*.pub ./
> 
> The wildcard expands locally. (your shell does that)

sh should not expand this wildcard unless you have a file called
literally

  derek at mydomain.com:/home/derek/foo.pub

starting from the current directory. 

However I think some shells (zsh?) will try to expand wildcards like
this to '' if they don't match.  Perhaps the OS X shell does this.

So you should put the argument containing the wildcard in single
quotes.

-- 
Martin 




More information about the rsync mailing list