<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 13, 2020 at 11:59 AM Wayne Davison via rsync <<a href="mailto:rsync@lists.samba.org">rsync@lists.samba.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">I should also mention that there are totally valid reasons why the dir might be huge on day4. For instance, if someone changed the mode on the files from 664 to 644 then the files cannot be hard-linked together even if the file's data is unchanged. The same goes for differences in preserved xattrs, acls, and ownership.  In such a case you could decide that you don't care about the change in meta info and tweak it on the earlier files to match day4's files and then the suggested re-link command would decide it could join them together.  You'd probably then need to keep going and re-link day5's pictures (since it was probably linking to the old day4's pictures).<div><br clear="all"><div><div dir="ltr">..wayne..</div></div></div></div></div></blockquote><div><br></div><div>I totally get why some folks would prefer to use rsync --link-dest for backups: It's very fast, and the backup itself is usable as a replacement filesystem.</div><div><br> </div><div>If you are open to trying something else though, there are probably several tools at <a href="https://stromberg.dnsalias.org/~strombrg/backshift/documentation/comparison/index.html">https://stromberg.dnsalias.org/~strombrg/backshift/documentation/comparison/index.html</a> that can backup permissions changes without needing to create a copy of the file data.  Sadly, I don't know about most of the tools there, but I know that backshift wouldn't.  Backshift is much slower than rsync, but also takes up quite a bit less storage space, even if you mv a large hierarchy or change all the file permissions in a hierarchy.<br></div><div><br></div><div>HTH</div><div><br></div></div></div>