On Mon, 2008-07-14 at 13:42 +0200, [EMAIL PROTECTED] wrote:
> does anyone know what is wrong with that command line ?
> 
> rsync -e "/<path to ssh>/ssh -i/<keypath>/.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 "/<path to ssh>/ssh -i/<keypath>/.ssh/id_rsa " -vaoRrn [EMAIL 
PROTECTED]:'/root/directory/./dirToSync1 /root/directory/./dirToSync2' 
'/dir/to/destination'

Matt

Attachment: 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

Reply via email to