From 5e2ab0566ac26651a31922ffbaeb9ec924a1ed15 Mon Sep 17 00:00:00 2001 From: ZenithalHourlyRate Date: Sat, 1 Oct 2022 23:59:35 +0800 Subject: [PATCH] s3: use --exact-timestamps by default Closes https://github.com/tuna/issues/issues/1593 Ref to https://github.com/aws/aws-cli/issues/3415 --- s3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3.sh b/s3.sh index b7ea9ac..363c325 100755 --- a/s3.sh +++ b/s3.sh @@ -8,5 +8,5 @@ fi [[ ! -d "${TUNASYNC_WORKING_DIR}" ]] && mkdir -p "${TUNASYNC_WORKING_DIR}" mkdir /tmp/none; cd /tmp/none # enter an empty folder, so the stars in TUNASYNC_AWS_OPTIONS are not expanded -exec aws --no-sign-request ${ENDPOINT} s3 sync ${TUNASYNC_AWS_OPTIONS} "${TUNASYNC_UPSTREAM_URL}" "${TUNASYNC_WORKING_DIR}" +exec aws --no-sign-request ${ENDPOINT} s3 sync --exact-timestamps ${TUNASYNC_AWS_OPTIONS} "${TUNASYNC_UPSTREAM_URL}" "${TUNASYNC_WORKING_DIR}"