Re: --compare-dest not working for me. what am I doing wrong?

2007-11-15 Thread Wayne Davison
On Thu, Nov 15, 2007 at 10:29:58PM +0100, Lucas Meijer wrote: > mkdir a b c > echo foo > a/test > echo foo > b/test > rsync -av --compare-dest=../b a/ c/ The two test files don't match in their preserved attributes. They must either have the same mtime, or you must not ask rsync to preserve times

Re: --compare-dest not working for me. what am I doing wrong?

2007-11-15 Thread Lucas Meijer
Hey Matt, Relative --*-dest paths are interpreted relative to the destination directory (as stated in the man page), so you should use: rsync -av --compare-dest=../b a/ c/ tried that too, same result for me: mkdir a b c echo foo > a/test echo foo > b/test rsync -av --compare-dest=../b a/ c

Re: --compare-dest not working for me. what am I doing wrong?

2007-11-15 Thread Matt McCutchen
On Thu, 2007-11-15 at 15:41 +0100, Lucas Meijer wrote: > Can anybody spot my mistake? > > mkdir a b c > echo foo > a/test > echo foo > b/test > rsync -av --compare-dest=b a/ c/ Relative --*-dest paths are interpreted relative to the destination directory (as stated in the man page), so you should

--compare-dest not working for me. what am I doing wrong?

2007-11-15 Thread Lucas Meijer
Hey. Can anybody spot my mistake? mkdir a b c echo foo > a/test echo foo > b/test rsync -av --compare-dest=b a/ c/ Expected results: no copy of a/test to c/test, since it is already present in b. Actual results: a/test gets copied to c/test What is wrong here? My expectation? my syntax? I'm

Re: what am I doing wrong

2004-07-14 Thread Chris Shoemaker
hris Shoemaker [mailto:[EMAIL PROTECTED] > Sent: Friday, June 11, 2004 10:31 AM > To: Wallace Matthews > Cc: [EMAIL PROTECTED] > Subject: Re: what am I doing wrong > > > On Fri, Jun 11, 2004 at 02:53:53PM -0400, Wallace Matthews wrote: > > I am seeing some rather strange

RE: what am I doing wrong

2004-06-11 Thread Wallace Matthews
] Subject: Re: what am I doing wrong On Fri, Jun 11, 2004 at 02:53:53PM -0400, Wallace Matthews wrote: > I am seeing some rather strange behavior with synch of 2 directories on the same > system using 2.6.2. > > The older file is the image of a full backup and is 29Gig in size. The new i

Re: what am I doing wrong

2004-06-11 Thread Chris Shoemaker
On Fri, Jun 11, 2004 at 02:53:53PM -0400, Wallace Matthews wrote: > I am seeing some rather strange behavior with synch of 2 directories on the same > system using 2.6.2. > > The older file is the image of a full backup and is 29Gig in size. The new image is > a slice of an incremental > backup

what am I doing wrong

2004-06-11 Thread Wallace Matthews
I am seeing some rather strange behavior with synch of 2 directories on the same system using 2.6.2. The older file is the image of a full backup and is 29Gig in size. The new image is a slice of an incremental backup and is 101Meg in size. the command line is: time /home/wally/rsync/rsync-2.6.

Re: --delete, what am I doing wrong?

2004-04-22 Thread Brian McEntire
Thanks Wayne! Both options worked well -- upgrading clients to 2.6.0 or using /. instead of / to specify the root directory. Perhaps a recap for the regulars here, but maybe useful to some -- I found that I only needed to upgrade to 2.6.0 on the remote/source side. Upgrading to 2.6.0 on my back

Re: --delete, what am I doing wrong?

2004-04-21 Thread Wayne Davison
On Wed, Apr 21, 2004 at 04:59:19PM -0400, Brian McEntire wrote: > rsync -av -e ssh --one-file-system --numeric-ids --relative --delete > --exclude-from=/backups/control/all.exclude '[EMAIL PROTECTED]:/ /boot /dev/shm > /sandbox ' /backups/A You have a couple choices on how to make this work: - U

--delete, what am I doing wrong?

2004-04-21 Thread Brian McEntire
Sorry if this is a boneheaded question. I'm stairing at it and can't see what I'm doing wrong: On machine B, I'm trying to mirror all of machine A and want to delete files that have been deleted off A since the last sync. I run: rsync -av -e ssh --one-file-system --numeric-ids --relative --delet