Looks like it's working for me. I can't say it doesn't break anything
else though. I'll do some more testing. Does this have any chance of making it into 2.6.7? -- Guillaume Wayne Davison wrote: On Tue, Sep 27, 2005 at 07:10:31PM +0200, Guillaume Etorre wrote:Is there any reason for --delete not to delete when used with --dirs?It's a historical reason due to the original delete code only knowing how to handle a from-the-top recursion pass. When I improved the delete code in 2.6.4 (implementing --delete-during and making it more memory efficient), the new algorithm is now capable of handling deletions in individual directories, so all it would take to implement this is to tweak the options processing to not disable --delete when --dirs is enabled, and to properly mark directories whose content was sent as opposed to solo directories. The attached patch does this, and I don't think it has any unintended side-effects. Feel free to give it a try...wayne.. |
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html