From efa9898731dfe852320357de8af62c773b5cd103 Mon Sep 17 00:00:00 2001 From: Peter Wood Date: Wed, 4 Oct 2023 08:47:26 -0400 Subject: [PATCH] simplified flags for running as cron job --- move-backups.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/move-backups.sh b/move-backups.sh index a6a9c42..f6e9b67 100755 --- a/move-backups.sh +++ b/move-backups.sh @@ -1,7 +1,11 @@ #! /bin/bash function move-backups() { - rsync -vrzPh --include '*.gz' --remove-source-files vperanda:/home/acedanger/backup/docker-data /mnt/m/backups/ +# -q quiet +# -r recursive +# -z compress + rsync -qrz --include '*.gz' --remove-source-files vperanda:/home/acedanger/backup/docker-data + /mnt/m/backups/ } if [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then