mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
add variable TUNASYNC_AWS_OPTIONS
This commit is contained in:
parent
b8721a7020
commit
67caef3af9
2
s3.sh
2
s3.sh
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
[ ! -d "${TUNASYNC_WORKING_DIR}" ] && mkdir -p "${TUNASYNC_WORKING_DIR}"
|
[ ! -d "${TUNASYNC_WORKING_DIR}" ] && mkdir -p "${TUNASYNC_WORKING_DIR}"
|
||||||
aws --delete --no-sign-request --endpoint-url="${TUNASYNC_S3_ENDPOINT}" s3 sync "${TUNASYNC_UPSTREAM_URL}" "${TUNASYNC_WORKING_DIR}"
|
aws ${TUNASYNC_AWS_OPTIONS} --delete --no-sign-request --endpoint-url="${TUNASYNC_S3_ENDPOINT}" s3 sync "${TUNASYNC_UPSTREAM_URL}" "${TUNASYNC_WORKING_DIR}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user