various updates and configs

This commit is contained in:
2026-11-01 12:23:15 -07:00
parent da66fd27d2
commit 15b04ddb4a
41 changed files with 568 additions and 432 deletions
@@ -54,7 +54,7 @@ ${scwryptsmodule}() {
echo.status "${ACTION}ing ${TARGET}"
cloud.aws s3 sync $A $B \
&& echo.success "${TARGET} up-to-date" \
|| { ERROR "unable to sync ${TARGET} (see above)"; return 1; }
|| { echo.error "unable to sync ${TARGET} (see above)"; return 1; }
}
#####################################################################
@@ -81,7 +81,7 @@ ${scwryptsmodule}.parse.usage() {
${scwryptsmodule}.parse.validate() {
[ "${TARGET}" ] \
|| ERROR 'must specify a target'
|| echo.error 'must specify a target'
TARGET_LOCAL="${HOME}/${TARGET}"
TARGET_CLOUD="s3://${MEDIA_SYNC__S3_BUCKET}/${TARGET}"
+1 -1
View File
@@ -36,7 +36,7 @@ ${scwryptsmodule}() {
[[ $FAILED_COUNT -eq 0 ]] \
&& echo.success "successfully completed ${ACTION} for ${TARGET_COUNT} / ${TARGET_COUNT} target(s)" \
|| ERROR "failed ${ACTION} for ${FAILED_COUNT} / ${TARGET_COUNT} target(s)" \
|| echo.error "failed ${ACTION} for ${FAILED_COUNT} / ${TARGET_COUNT} target(s)" \
;
}
@@ -28,10 +28,10 @@ ${scwryptsmodule}.validate() {
case "${ACTION}" in
( push | pull | pull-first-synchronize | push-first-synchronize ) ;;
( '' )
ERROR 'must specify a media sync action'
echo.error 'must specify a media sync action'
;;
( * )
ERROR "invalid media sync action '${ACTION}'"
echo.error "invalid media sync action '${ACTION}'"
;;
esac
}