Gentoo Archives: gentoo-user

From: Joseph <syscon@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rsync over ssh "--delete" not working
Date: Sat, 26 Nov 2005 02:30:47
Message-Id: 1132972028.31238.32.camel@sysconcept.ca
In Reply to: Re: [gentoo-user] rsync over ssh "--delete" not working by Neil Bothwick
1 On Sat, 2005-11-26 at 00:05 +0000, Neil Bothwick wrote:
2 > On Fri, 25 Nov 2005 15:51:34 -0700, Joseph wrote:
3 >
4 > > Got it! I was missing "e"
5 > > rsync -ave ssh --delete source/.. .. ..
6 >
7 > You don't need -e or ssh, rsync uses ssh as its remote shell by default.
8 >
9 > rsync -av --delete source/ ... would do exactly the same.
10
11 That was my impression too but when I tried it without "e" it gave the
12 the error:
13 rsync -av ssh --delete source/ joseph@10.0.0.101:/home/joseph/destination
14 building file list ... link_stat "/home/joseph/ssh" failed: No such file or directory
15
16 When I added "e" it deleted the file on destination, and no errors
17 showed up.
18
19 --
20 #Joseph
21 --
22 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] rsync over ssh "--delete" not working Nick Rout <nick@×××××××.nz>