On Mon, 2008-07-14 at 13:42 +0200, christoph.m@freenet.de wrote:
> does anyone know what is wrong with that command line ?
>
> rsync -e "//ssh -i//.ssh/id_rsa " -vaoRrn user@hostname:'/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 user@hostname:'/root/directory/./dirToSync1 /root/directory/./dirToSync2' '/dir/to/destination'

Matt

--
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkh72OkACgkQC+xSYN/Rlfty0gCghcdL+G8FL8q9SRfT0zcgrobu
soQAn38vA4/pccO9KSXmwZkL96S2v9ip
=k30m
-----END PGP SIGNATURE-----