mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-07-01 07:22:45 +00:00
s3: use --exact-timestamps by default
Closes https://github.com/tuna/issues/issues/1593 Ref to https://github.com/aws/aws-cli/issues/3415
This commit is contained in:
parent
f25bb97936
commit
5e2ab0566a
2
s3.sh
2
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}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user