Thanks, Wayne, very helpful, and good to know officially that it has changed from earlier versions.<div><br></div><div> - Bryan<br><br><div class="gmail_quote">On Fri, Mar 18, 2011 at 20:05, Wayne Davison <span dir="ltr">&lt;<a href="mailto:wayned@samba.org">wayned@samba.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

</blockquote>On Sat, Mar 12, 2011 at 11:30, Bryan Hoyt | Brush Technology <span dir="ltr">&lt;<a href="mailto:bryan@brush.co.nz" target="_blank">bryan@brush.co.nz</a>&gt;</span> wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_quote">

<div>Is this because --size-only doesn&#39;t affect the behaviour of --link-dest, but only the transfer comparison?</div></div></div></blockquote><div><br></div></div><div>Exactly.  It is just telling rsync to tweak its &quot;quick check&quot; algorithm for files that don&#39;t need to be transfered.  It doesn&#39;t specify that you don&#39;t want to preserve the modify time of any file that gets copied.</div>

<div class="im">
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_quote"><div>I&#39;ve worked around this issue by specifying &quot;--no-times&quot; on the rsync command line.</div>


</div></div></blockquote><div><br></div></div><div>Which is the correct solution.  Without disabling time preservation, rsync will not hard-link an incoming file with one that doesn&#39;t have the same modify time because it could not change (preserve) the modify time on the resulting file without affecting the file in the link-dest hierarchy.  This same rule applies for all preserved attributes (groups, ownership, permissions, etc.).  This is a bug-fix from earlier rsync versions that got this wrong.</div>


<div><br></div></div><font color="#888888">..wayne..<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">PS. Check out the Brush newsletter: <a href="http://brush.co.nz/newsletters" style="color:rgb(0, 0, 204)" target="_blank"><b>Subscribe or read our previous newsletters</b></a><br>

<br>Bryan Hoyt, <i>Web Development Manager</i>  --  Brush Technology<br><b>Ph:</b> +64 3 741 1204     <b>Mobile:</b> +64 21 238 7955<br><b>Web:</b> <a href="http://brush.co.nz/" style="color:rgb(0, 0, 204)" target="_blank">brush.co.nz</a></span><br>


</div>