X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=archivepics.sh;h=40ad62d2e0e08225d1285f60182fb0bdf36c0869;hb=e34107eafa0bdd9c841cd7f84952937bc75c457b;hp=202d73c57dfcc176add80f7ed2dbb089e3cfabcb;hpb=88cc045a5eecced9d8f71c2a8e0aef67a8d94368;p=scripts.git diff --git a/archivepics.sh b/archivepics.sh index 202d73c..40ad62d 100755 --- a/archivepics.sh +++ b/archivepics.sh @@ -28,6 +28,14 @@ [[ ${archive_size_min} ]] || archive_size_min=1048576 # 1Mb +# if [[ -z $* ]] && [[ ${PHO_NOTE_1} ]]; then + # echo "$0 ${PHO_NOTE_1}" + # $0 ${PHO_NOTE_1} + # exit 0 +# fi + +export ARCHIVED_PICS="$@" + set -e if [[ ! ${IMAGE_ARCHIVE_DIR} ]]; then @@ -60,7 +68,7 @@ for i in "$@"; do if [[ -f ${base}.jpg ]]; then ref=${base}.jpg; fi if [[ -f ${base}.jpeg ]]; then ref=${base}.jpeg; fi - echo "ref=${ref}" + # echo "ref=${ref}" if [[ -f ${ref} ]]; then