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

On 12-08-18 16:34, Martin Gregorie wrote:
> I use a different set of options, because we have slightly different
> requirements: I don't want rsync to stop except for serious errors.
> I'm running with these options:
>
> -avzE --delete --delete-excluded --ignore-errors --log-file=$log

With my -a or -au, rsync doesn't stop on the "file is now a dir" error,
it just gives an error message and continues.

-a implies -p which means -E is ignored.

-z is mostly useless nowadays, in my experience.

Like I said, I would never use --delete on a backup for fear of losing
the last copy of a file I accidentally deleted on my source drive. But
if you want a 1-to-1 mirror, then yeah. Many subtleties to consider:
https://www.explainshell.com/explain?cmd=rsync+--delete

--- 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™.