--no-omit-dir-times does not override --backup
wayned at samba.org
Sun Oct 8 15:53:41 UTC 2017
On Sat, Sep 16, 2017 at 10:13 AM, Anders Gronberg via rsync <
rsync at lists.samba.org> wrote:
> As I understand the documentation "--backup" without specifying
> "--backup-dir" implicitly sets "--omit-dir-times".
> It is then possible to negate the implied option by specifying it prefixed
> with "--no".
No, it is not possible to override that. The backup operations occurring
inside the transfer directories cause the directory times to get tweaked,
so rsync doesn't support trying to keep those times the same (without
moving your backup files elsewhere). There is no error because
--no-omit-dir-times is the default, and rsync expects to override that
default. Yes,, it would be possible to make rsync complain with more a
complicated option setup, but I don't think that the extra complexity is
warranted for this. I've tweaked the man page to mention that it is forced
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync