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)       
                                                                                
                                                            
                                                                                
                                                                                
                                                            
sent 18 bytes  received 12 bytes  60.00 bytes/sec                               
                                                                                
                                                            
total size is 0  speedup is 0.00                                                
                                                                                
                                                            
rsync error: some files could not be transferred (code 23) at main.c(1058) 
[sender=3.0.3]

On Friday 29 October 2010 17:16:59 Wayne Davison wrote:
> On Fri, Oct 29, 2010 at 8:00 AM, Alex Cartwright 
<alexc...@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..

Regards
Alex Cartwright
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to