Multiple wildcards in source

Wayne Davison wayned at samba.org
Fri Oct 29 10:16:59 MDT 2010


On Fri, Oct 29, 2010 at 8:00 AM, Alex Cartwright <alexc223 at googlemail.com>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 would only be required
if you need to send the wildcards to a remote host.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20101029/344b312d/attachment.html>


More information about the rsync mailing list