$ 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.alexc...@googlemail.com>, on 10/29/10
>
>at 09:52 PM, Alex Cartwright said:
> >Unfortu
In <201010292152.10643.alexc...@googlemail.com>, on 10/29/10
at 09:52 PM, Alex Cartwright 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:
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:
On Fri, Oct 29, 2010 at 8:00 AM, Alex Cartwright wrote:
> rsync -arv '/home/*/domains/*' ~/
>
That is a local copy, so you're quoting the wildcards tells the shell that
they are literal characters in the filename. If you want the shell to do
wildcard expansion, unquote the argument. The quotes