Problem remote sync with several directories/files

2008-07-14 Thread christoph . m
Hi,

does anyone know what is wrong with that command line ?

rsync -e "//ssh -i//.ssh/id_rsa " -vaoRrn  [EMAIL 
PROTECTED]:'/root/directory/./dirToSync1' :'/root/directory/./dirToSync2' 
'/dir/to/destination'

Calling it with real paths the rsync command overview arises.

Thanks for your efforts.


Best Regards.

Christoph


Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html
-- 
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

Re: Problem remote sync with several directories/files

2008-07-14 Thread Matt McCutchen
On Mon, 2008-07-14 at 13:42 +0200, [EMAIL PROTECTED] wrote:
> does anyone know what is wrong with that command line ?
> 
> rsync -e "//ssh -i//.ssh/id_rsa " -vaoRrn  [EMAIL 
> PROTECTED]:'/root/directory/./dirToSync1' :'/root/directory/./dirToSync2' 
> '/dir/to/destination'
> 
> Calling it with real paths the rsync command overview arises.

I don't see anything wrong with the command, but note that the syntax
you're using for multiple remote source arguments is new in rsync 3.0.0;
older rsync clients will reject it with an error.  If your rsync is
older than 3.0.0, try this syntax instead:

rsync -e "//ssh -i//.ssh/id_rsa " -vaoRrn [EMAIL 
PROTECTED]:'/root/directory/./dirToSync1 /root/directory/./dirToSync2' 
'/dir/to/destination'

Matt


signature.asc
Description: This is a digitally signed message part
-- 
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