config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 9404a3794bcc10d3b6e1e4cd46cae8b1027e621d
parent 6da3e65be0062f919b9e6aa8af27db5e3304853c
Author: Jacob R. Edwards <n/a>
Date:   Tue, 19 Apr 2022 20:17:14 -0500

Use rsync(1) in the mirror script

While I like the idea of openrsync(1), it's just not robust enough
for all my junk. (Basically, it exits immediately on errors which
is, by UNIX standards, correct, but unpleasent for long unattended
transfers.)

Diffstat:
Mlocal/bin/bin/mirror | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/local/bin/bin/mirror b/local/bin/bin/mirror @@ -1,4 +1,4 @@ #!/bin/sh # Copyright 2021 Jacob R. Edwards -exec openrsync -a --del "$@" +exec rsync -a --del "$@"