Re: rsync --link-dest option with the destination directory containing old files.

2008-12-23 Thread Matt McCutchen
On Tue, 2008-12-23 at 15:07 -0600, Dave Dykstra wrote: > On Tue, Dec 23, 2008 at 01:52:21PM -0500, Matt McCutchen wrote: > > I too find the current semantics of basis dirs illogical and would > > support an option for better semantics (though I think we should avoid > > changing defaults some users

Re: rsync --link-dest option with the destination directory containing old files.

2008-12-23 Thread Dave Dykstra
On Tue, Dec 23, 2008 at 01:52:21PM -0500, Matt McCutchen wrote: > On Tue, 2008-12-23 at 23:45 +1100, David Overton wrote: > > I would also very much like to see this feature. Indeed, this seems > > far more logical than the current --link-dest behaviour and it's what > > I assumed --link-dest would

Re: rsync --link-dest option with the destination directory containing old files.

2008-12-23 Thread Matt McCutchen
[Cross-posting this thread from rsync to rsnapshot-discuss because it bears directly on rsnapshot's mode of operation.] On Tue, 2008-12-23 at 10:00 -0600, Dave Dykstra wrote: > Rob gave the example of > rsync -a --link-dest=../backup.1 source/ backup.0/ > where backup.0 already had files in it

Re: rsync --link-dest option with the destination directory containing old files.

2008-12-23 Thread Dave Dykstra
On Tue, Dec 23, 2008 at 11:45:36PM +1100, David Overton wrote: > 2008/12/23 Robert Bell : > > It seems to us that there is a good case for the enhanced functionality. > > > > "When a file is found in the destination which should be replaced by one > > in the source, look in the --link-dest director

Re: rsync --link-dest option with the destination directory containing old files.

2008-12-23 Thread David Overton
2008/12/23 Robert Bell : > It seems to us that there is a good case for the enhanced functionality. > > "When a file is found in the destination which should be replaced by one > in the source, look in the --link-dest directory first for a candidate, > and hard-link that in preference to doing a co

Re: rsync --link-dest option with the destination directory containing old files.

2008-12-22 Thread Robert Bell
avison To: Robert Bell Cc: rsync@lists.samba.org Subject: Re: rsync --link-dest option with the destination directory containing old files. Resent-Date: Tue, 23 Dec 2008 15:56:17 +1100 (EST) Resent-From: On Tue, Dec 23, 2008 at 10:22:42AM +1100, Robert Bell wrote: we would like rsync to

Re: rsync --link-dest option with the destination directory containing old files.

2008-12-22 Thread Wayne Davison
On Tue, Dec 23, 2008 at 10:22:42AM +1100, Robert Bell wrote: > we would like rsync to use a hard-link from ../backup.1 in > preference to a new copy from source/ to backup.0/ . That's not something that I plan to implement. I'd suggest changing your naming to always use a new directory, which wil

rsync --link-dest option with the destination directory containing old files.

2008-12-22 Thread Robert Bell
Way back: > -- Forwarded message -- Date: Mon, 2 Jun 2003 > 09:56:50 -0700 (PDT) From: Michael Rubel galcit.caltech.edu> To: rsync at lists.samba.org Subject: > --link-dest when target and compare_dir both have file > > Hi J.W. et al, > > Kevin Everets was kind enough to inform