Multiple wildcards in source

Alex Cartwright alexc223 at googlemail.com
Fri Oct 29 15:07:59 MDT 2010


$ sudo ls -la /home/*/domains/*
ls: cannot access /home/*/domains/*: No such file or directory

Bash 3.2, Debian Lenny

Hum.

On Friday 29 October 2010 23:02:06 Steven Levine wrote:
> In <201010292152.10643.alexc223 at googlemail.com>, on 10/29/10
> 
>    at 09:52 PM, Alex Cartwright <alexc223 at googlemail.com> said:
> >Unfortunately I have tried it without the quotes as well, with no luck.
> >
> >$ sudo rsync -arv /home/*/domains/* /home/alex/foo/
> >
> >[sudo] password for alex:
> > sending incremental file list
> > rsync: change_dir "/home/*/domains" failed: No such file or directory
> >
> >(2)
> 
> There's something odd going on with your shell or your wildcard needs to
> be tweaked.  What does
> 
>   ls /home/*/domains/*
> 
> have to say?
> 
> Regards,
> 
> Steven

Regards,
Alex Cartwright


More information about the rsync mailing list