<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Sep 16, 2017 at 10:13 AM, Anders Gronberg via rsync <span dir="ltr"><<a href="mailto:rsync@lists.samba.org" target="_blank">rsync@lists.samba.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As I understand the documentation "--backup" without specifying "--backup-dir" implicitly sets "--omit-dir-times".<br>
It is then possible to negate the implied option by specifying it prefixed with "--no".<br></blockquote><div><br></div><div>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 on.<br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">..wayne..</div></div>
</div></div></div></div>