more accurate sync messages
This commit is contained in:
parent
6a0f9f0ecd
commit
f4ebf2ec69
@ -28,7 +28,7 @@ PULL_MEDIA() {
|
|||||||
local NO_DELETE="$2"
|
local NO_DELETE="$2"
|
||||||
[ ! $NO_DELETE ] && FLAGS=--delete
|
[ ! $NO_DELETE ] && FLAGS=--delete
|
||||||
|
|
||||||
CHECK "updating $1"
|
CHECK "downloading latest $1"
|
||||||
aws --profile $DOTWRYN_AWS_PROFILE \
|
aws --profile $DOTWRYN_AWS_PROFILE \
|
||||||
s3 sync $REMOTE_TARGET $LOCAL_TARGET \
|
s3 sync $REMOTE_TARGET $LOCAL_TARGET \
|
||||||
$FLAGS >/dev/null 2>&1 \
|
$FLAGS >/dev/null 2>&1 \
|
||||||
@ -43,7 +43,7 @@ PUSH_MEDIA() {
|
|||||||
local NO_DELETE="$2"
|
local NO_DELETE="$2"
|
||||||
[ ! $NO_DELETE ] && FLAGS=--delete
|
[ ! $NO_DELETE ] && FLAGS=--delete
|
||||||
|
|
||||||
CHECK "updating $1"
|
CHECK "uploading $1"
|
||||||
aws --profile $DOTWRYN_AWS_PROFILE \
|
aws --profile $DOTWRYN_AWS_PROFILE \
|
||||||
s3 sync $LOCAL_TARGET $REMOTE_TARGET \
|
s3 sync $LOCAL_TARGET $REMOTE_TARGET \
|
||||||
$FLAGS \
|
$FLAGS \
|
||||||
|
Loading…
Reference in New Issue
Block a user