TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: MARTIN GREGORIE
from: A. DUMAS
date: 2018-08-12 15:00:00
subject: Re: Create NDIF disk imag

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.