From d2053a82edb2cb390a39a70b9f4ffd29346f4115 Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Wed, 22 Nov 2023 16:18:30 -0600 Subject: [PATCH] Adding skip-existing by default to s3cmd --- mirror-sync.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/mirror-sync.sh b/mirror-sync.sh index bbb025a..e2acad8 100644 --- a/mirror-sync.sh +++ b/mirror-sync.sh @@ -352,6 +352,7 @@ s3cmd_sync() { # Run AWS client to sync the S3 bucket. eval "$sync_timeout" s3cmd sync \ -v --progress \ + --skip-existing \ --delete-after \ "$options" \ "'${bucket:?}'" "'${repo:?}'"