I'm pretty sure that "ssh -l u...@host1" isn't going to do anything but
get you the usage screen for SSH. You don't need the -l with the
u...@host syntax. Also, it can't hurt to add a -v to your rsync
arguments to get some more details about what it's doing. -r is also
implied with -a and is not necessary.
On 8/18/2010 9:18 PM, Vanitha wrote:
The exact syntax is as below
Rsync -r -a -e "ssh -l u...@host1" -h /home/xx/dir-name
u...@host2:/home/xx/dir-name
------------------------------------------------------------------------
*From:* Steve Polyack [mailto:kor...@comcast.net]
*Sent:* Wednesday, August 18, 2010 7:36 PM
*To:* Vanitha
*Cc:* 'Benjamin R. Haskell'; rsync@lists.samba.org
*Subject:* Re: using rsync for jar file
On 8/18/2010 1:45 AM, Vanitha wrote:
We are using
Rsync -r -a -e 'ssh -l u...@host1 -h /home/xx/dir-name
u...@host2:/home/xx/dir-name
Where's the terminating ' for the rsh command?
The jar file is present inside the directory.
> -----Original Message-----
> From: Benjamin R. Haskell [mailto:rs...@benizi.com]
> Sent: Wednesday, August 18, 2010 12:45 PM
> To: Vanitha
> Cc: Tony Abernethy; rsync@lists.samba.org <mailto:rsync@lists.samba.org>
> Subject: RE: using rsync for jar file
>
> On Wed, 18 Aug 2010, Vanitha wrote:
>
> > Precisely I did the same thing & I noticed that the size of the file
> > and the timestamp didn't change. How do I troubleshoot this? Any help
> > is appreciated
>
> First step would be to tell us how you're using rsync. *Not* the broad
> overview (synchronize a JAR file between servers). Specifics. What
> options are you passing to rsync?
>
> e.g. (on the updated server):
> rsync /path/to/some.jar otherserver:/path/to/some.jar
>
> Or (on the server being updated):
> rsync otherserver:some.jar /path/to/some.jar
>
> As Tony pointed out, we're not psychic. We can't know what you tried
> unless you tell us.
>
> --
> Best,
> Ben
[This e-mail is confidential and may be privileged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
--
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