<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt;color:#000000;"><div><p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Hi all,<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">I am reading everything I
can find (including this mailling list archives) for the last 2 weeks, on how
to handle moved and/or renamed files with rsync.&nbsp;&nbsp;I would have
preferred to use an unmodified rsync, and&nbsp;I think I could make it for the
“moved files”&nbsp;with a 3 steps process like this :<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: x-small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:#D9D9D9"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: x-small;">1-&nbsp;&nbsp;rsync -avz
--delete --backup --backup-dir=$TEMP_BACKUP --existing --ignore-existing
$SOURCE $DESTINATION<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:#D9D9D9"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: x-small;">2-&nbsp;&nbsp;find .$TEMP_BACKUP
-type f -exec mv '{}' $TEMP_BACKUP/ \;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;###
“flatten” the hierarchy moving all files to top dir<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:#D9D9D9"><span style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: x-small;">3-&nbsp;&nbsp;rsync -avz --compare-dest=./temp_backup $SOURCE
$DESTINATION<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: x-small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">but it looks like the only
way for "renamed files" is the --detect-rename patch.&nbsp;&nbsp;When
I first found about the patch, I was feeling it not safe, but with further
reading, I am now comfortable to give it a try.<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">My setup :<o:p></o:p></span></span></p>

<p class="MsoListParagraphCxSpFirst" style="margin-bottom:0cm;margin-bottom:.0001pt;
mso-add-space:auto;text-indent:-18.0pt;line-height:normal;mso-list:l1 level1 lfo2;
background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">1.</span><span style="font:7.0pt &quot;Times New Roman&quot;"><span class="Apple-style-span" style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp; <span class="Apple-tab-span" style="white-space:pre">        </span></span></span></span><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Ubuntu 9.04 with rsync 3.0.5 on a “SheevaPlug computer” with a usb drive
attached.<o:p></o:p></span></span></p>

<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0cm;margin-bottom:
.0001pt;mso-add-space:auto;text-indent:-18.0pt;line-height:normal;mso-list:
l1 level1 lfo2;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">2.</span><span style="font:7.0pt &quot;Times New Roman&quot;"><span class="Apple-style-span" style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;
<span class="Apple-tab-span" style="white-space:pre">        </span></span></span></span><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Unknown distro with
rsync 3.0.2 on a “MyBook World Edition (white bar)”.<o:p></o:p></span></span></p>

<p class="MsoListParagraphCxSpLast" style="margin-bottom:0cm;margin-bottom:.0001pt;
mso-add-space:auto;text-indent:-18.0pt;line-height:normal;mso-list:l1 level1 lfo2;
background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">3.</span><span style="font:7.0pt &quot;Times New Roman&quot;"><span class="Apple-style-span" style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp; <span class="Apple-tab-span" style="white-space:pre">        </span></span></span></span><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Don’t know yet witch one will be local and remote.<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">My questions :<o:p></o:p></span></span></p>

<p class="MsoListParagraphCxSpFirst" style="margin-bottom:0cm;margin-bottom:.0001pt;
mso-add-space:auto;text-indent:-18.0pt;line-height:normal;mso-list:l0 level1 lfo1;
background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">1<span class="Apple-tab-span" style="white-space:pre">        <font class="Apple-style-span" face="'Times New Roman'">         &gt;&gt;</font></span>&nbsp;</span></span><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Is the "detect-renamed.diff" in the
"rsync-patches-3.0.7.tar.gz" backward compatible or is it a
"must do" for me to use the patch from the respective “.5” and “.2”
version of the "rsync-patches-3.0.?.tar.gz" on the respective device.<o:p></o:p></span></span></p>

<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0cm;margin-bottom:
.0001pt;mso-add-space:auto;text-indent:-18.0pt;line-height:normal;mso-list:
l0 level1 lfo1;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">2.</span><span style="font:7.0pt &quot;Times New Roman&quot;"><span class="Apple-style-span" style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;
<span class="Apple-tab-span" style="white-space:pre">        </span>&gt;&gt; &nbsp;</span></span></span><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">If not backward
compatible, is there significant behaviour, algorithm or performance differences
between each patch version listed above, or were they just repackaged to match
the new rsync version. &nbsp;I found no specific
information about improvement in the patch file “introduction” and really few further
down in what looked like the code itself.<o:p></o:p></span></span></p>

<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0cm;margin-bottom:
.0001pt;mso-add-space:auto;text-indent:-18.0pt;line-height:normal;mso-list:
l0 level1 lfo1;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">3.</span><span style="font:7.0pt &quot;Times New Roman&quot;"><span class="Apple-style-span" style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;
<span class="Apple-tab-span" style="white-space:pre">        </span>&gt;&gt; &nbsp;</span></span></span><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Is it possible
to install the patch only on one side?&nbsp; If
yes, is there a preferred choice for local or remote ?&nbsp; And would that make any options (i.e. pull or
push) mandatory?<o:p></o:p></span></span></p>

<p class="MsoListParagraphCxSpMiddle" style="margin-bottom:0cm;margin-bottom:
.0001pt;mso-add-space:auto;text-indent:-18.0pt;line-height:normal;mso-list:
l0 level1 lfo1;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">4.</span><span style="font:7.0pt &quot;Times New Roman&quot;"><span class="Apple-style-span" style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;
<span class="Apple-tab-span" style="white-space:pre">        </span>&gt;&gt; &nbsp;</span></span></span><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Based on installation
commands explained in the patch “introduction”, I tried the following, logged
in as root, with the diff file saved directly in root directory, with both .5
and .7 version of the patch, with “&lt;”&nbsp;
and “&lt;/”, with –p1 and –p0 &nbsp;:<o:p></o:p></span></span></p>

<p class="MsoListParagraphCxSpLast" style="margin-bottom:0cm;margin-bottom:.0001pt;
mso-add-space:auto;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" align="center" style="margin-bottom:0cm;margin-bottom:.0001pt;
text-align:center;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">patch -p1 &lt;detect-renamed.diff<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:35.4pt;margin-bottom:.0001pt;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:35.4pt;margin-bottom:.0001pt;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">and all attempts terminated with the following message :<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:35.4pt;margin-bottom:.0001pt;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:70.8pt;margin-bottom:.0001pt;line-height:normal;background:white"><span style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">|diff --git
a/compat.c b/compat.c<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:70.8pt;margin-bottom:.0001pt;line-height:normal;background:white"><span style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">|--- a/compat.c<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:70.8pt;margin-bottom:.0001pt;line-height:normal;background:white"><span style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">|+++ b/compat.c<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:70.8pt;margin-bottom:.0001pt;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">--------------------------<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:70.8pt;margin-bottom:.0001pt;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">File to patch:<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:70.8pt;margin-bottom:.0001pt;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:35.4pt;margin-bottom:.0001pt;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">appart from trying “–p0” instead of “-p1” all my research did not help me
to answer the “file to patch:” prompt...&nbsp;
Any suggestion?<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:35.4pt;margin-bottom:.0001pt;line-height:normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Sorry for the long post, I thought
asking all my “installation related” questions together was better for
potential future readers.<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><o:p><span class="Apple-style-span" style="font-size: small;">&nbsp;</span></o:p></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Any help will be
appreciated, thanks a lot in advance for your attention,<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span lang="EN-CA" style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">&nbsp;<o:p></o:p></span></span></p>

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;background:white"><span style="font-family: Arial, sans-serif; color: black; "><span class="Apple-style-span" style="font-size: small;">Bruno</span><o:p></o:p></span></p></div><div style="position:fixed"></div>


</div><br></body></html>