Skip to content

Commit 0e23be3

Browse files
Add --exact-timestamps to s3 sync
Fixes: #88 Signed-off-by: Miao Wang <[email protected]>
1 parent 5f11c87 commit 0e23be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ fi
88

99
[[ ! -d "${TUNASYNC_WORKING_DIR}" ]] && mkdir -p "${TUNASYNC_WORKING_DIR}"
1010
mkdir /tmp/none; cd /tmp/none # enter an empty folder, so the stars in TUNASYNC_AWS_OPTIONS are not expanded
11-
exec aws --no-sign-request ${ENDPOINT} s3 sync ${TUNASYNC_AWS_OPTIONS} "${TUNASYNC_UPSTREAM_URL}" "${TUNASYNC_WORKING_DIR}"
11+
exec aws --no-sign-request ${ENDPOINT} s3 sync --exact-timestamps ${TUNASYNC_AWS_OPTIONS} "${TUNASYNC_UPSTREAM_URL}" "${TUNASYNC_WORKING_DIR}"
1212

0 commit comments

Comments
 (0)