rdutoit at comcast.net
Sun Mar 9 03:33:16 GMT 2008
On Mar 8, 2008, at 10:16 PM, Matt McCutchen wrote:
> On Sat, 2008-03-08 at 21:52 -0500, Robert DuToit wrote:
>> I think I am missing something with the backup-dir-dels.diff patch.
>> How does that differ from the original --backup -backup-dir=DIR
> It lets you specify a different suffix and/or directory for deleted
> destination files as compared to overwritten files.
>> Using the original one works fine (on patched or non-patched
>> rsync), putting deleted source files into the DIR on destination, but
>> when I run --backup -backup-dir-dels=DIR, nothing happens to the
>> deleted files.
> This is the result of a logic error in the backup-dir-dels patch: it
> decides whether to do a simple or parallel-tree backup based on
> --backup-dir is set, regardless of whether the file in question is
> overwritten or deleted. Thus, --backup-dir-dels currently only has an
> effect if you also specify a --backup-dir. I will look into getting
> this fixed.
Ah - got it. thanks, Rob
More information about the rsync