On Wed, Aug 18, 2010 at 6:18 PM, Vanitha <vani...@stee.stengg.com> wrote:
> Rsync -r -a -e “ssh -l u...@host1” -h /home/xx/dir-name u...@host2 > :/home/xx/dir-name > It looks like you've duplicated the dir name, so you're looking for deletions in /home/xx/dir-name and they're happening in /home/xx/dir-name/dir-name. Either add a trailing slash to the source arg or remove dir-name from the destination arg. If your username indeed has an '@' in it, you can just specify it prior to the 2nd @ for the hostname: rsync -ah /src/ u...@host1@host2:/dest/ However, since your above command results in an extra "-l user" option from rsync, I assume it's just overriding the -l option you've specified and your username doesn't actually contain the '@'. Note that the use of ssh is the default these days, so you can probably drop the -e and its arg. ..wayne..
-- 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