<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 21, 2014 at 8:14 AM, OmegaPhil <span dir="ltr"><<a href="mailto:omegaphil@gmail.com" target="_blank">omegaphil@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Other than ignoring the problem and using --inplace, it doesnt look like I can influence how rsync names its temporary files - is this worth a feature request?<br>

</blockquote><div><br></div><div>Outside of using --inplace, you can only request that rsync put its temp files into a different directory (--temp-dir=FOO), but that isn't that nice of an option to use if the temp-dir isn't on the same filesystem as the destination dirs (since it's best to be able to rename the files into place w/o copying).</div>

<div><br></div><div>An option to change the prefix from "." to something else might be reasonable.  Or you could look at the get_tmpname() function in receiver.c and tweak this line to use some other single character (e.g. ':', '_', or whatever):</div>

<div><br></div><div>       <span style="color:rgb(0,0,0)"> fnametmp[length++] = </span><span style="color:rgb(204,0,0)">'.'</span><span style="color:rgb(0,0,0)">;</span></div><div><span style="color:rgb(0,0,0)"><br>

</span></div>That would allow you to do your copying w/o error at least.  If you want to make it longer than a single char, the code would need to change to check if the extra chars would fit w/o overflow.</div><div class="gmail_quote">

<br clear="all"><div>..wayne.. </div></div></div></div>