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
option?
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
whether
--backup-dir is set, regardless of whether the file in question is
being
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
Matt
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html