diff --git a/scripts/process-archive.sh b/scripts/process-archive.sh index 0e4da1bf..7c173464 100755 --- a/scripts/process-archive.sh +++ b/scripts/process-archive.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ $1 ] ; then +if [ "$1" ] ; then ARCHIVE_ROOT="$1" else ARCHIVE_ROOT="." @@ -34,12 +34,12 @@ JSON_NAME="%-:1d/${METADATA_DIR}/%f.json" # -srcfile "$PROCESSED_PREVIEW_NAME" -overwrite_original \ # XXX keep file dates... -exiftool -if '$jpgfromraw' -b -jpgfromraw -w "$PREVIEW_NAME" \ - -execute -if '$previewimage' -b -previewimage -w "$PREVIEW_NAME" \ - -execute '-FileModifyDate