On 12-08-18 14:08, Martin Gregorie wrote:
> On Sun, 12 Aug 2018 13:15:05 +0200, A. Dumas wrote:
>> Er, not what I'd expect. If it fails the first time, why should it
>> succeed the second time? What options do you use that makes rsync
>> replace files with directories? (Or do I misunderstand, do you mean that
>> it replaces on the first run?)
>>
> I think so. When rsync gets to the file, it realises what it last backed
> up as a file is now a directory, so it replaces the file with the
> directory and its contents.
No, what I'm saying is that normally it doesn't, at least not how I use
it, with -au options. For me, that results in an error message "Unable
to copy [etc]" or similar and that subtree being skipped. So either you
use other (--delete-etc?) options, or maybe with only -a (without -u)
rsync will replace instead of skip. Idk, haven't tested the exact
implications of rsync options recently.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|