On Fri, 25 Nov 2005 19:27:08 -0700
Joseph <[EMAIL PROTECTED]> wrote:

> On Sat, 2005-11-26 at 00:05 +0000, Neil Bothwick wrote:
> > On Fri, 25 Nov 2005 15:51:34 -0700, Joseph wrote:
> > 
> > > Got it!  I was missing "e"
> > > rsync -ave ssh --delete source/.. .. ..
> > 
> > You don't need -e or ssh, rsync uses ssh as its remote shell by default.
> > 
> > rsync -av --delete source/ ... would do exactly the same.
> 
> That was my impression too but when I tried it without "e" it gave the
> the error:
> rsync -av ssh --delete source/ [EMAIL PROTECTED]:/home/joseph/destination
> building file list ... link_stat "/home/joseph/ssh" failed: No such file or 
> directory
> 
> When I added "e" it deleted the file on destination, and no errors
> showed up.

no, when you did it you specified that it was to copy a file called
ssh. just leave ssh out altogether.

if you want to specify the remote shell to use, specify it with -e ssh,
if you want to rely on the default, leave out -e, and leave out "ssh"
unless you really DO want to copy a file called ssh.



> 
> -- 
> #Joseph
> -- 
> gentoo-user@gentoo.org mailing list
> 
-- 
gentoo-user@gentoo.org mailing list

Reply via email to