X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=redatepic.sh;h=fc6a6065d6675bb44212548cdd5abf7cfa1f8bdd;hb=17c692cb4145a9a3f67d1e9cbcd0ac81d28c0b62;hp=06460d416bc08df2d5b9bc354b9497757da1a404;hpb=4ab8789562205cc53a6050d41ff68e22f8b376ec;p=scripts.git diff --git a/redatepic.sh b/redatepic.sh index 06460d4..fc6a606 100755 --- a/redatepic.sh +++ b/redatepic.sh @@ -25,7 +25,8 @@ while [ $1 ]; do if [[ -f ${REFERENCE} ]]; then - TAG=$(exif --ifd=EXIF -t "Date and Time (original)" ${REFERENCE} | grep Value) + # TAG=$(exif --ifd=EXIF -t "Date and Time (original)" ${REFERENCE} | grep Value) + TAG=$(exif --ifd=EXIF -t 0x9003 ${REFERENCE} | grep Value) if [[ ${TAG} ]]; then TIMESTAMP=$(echo ${TAG} | sed -e \