On Fri, Feb 21, 2014 at 8:14 AM, OmegaPhil <omegap...@gmail.com> wrote:
> 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? > 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). 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): fnametmp[length++] = '.'; 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. ..wayne..
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html