X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=scripts.git;a=blobdiff_plain;f=redatepic.sh;h=fc6a6065d6675bb44212548cdd5abf7cfa1f8bdd;hp=06460d416bc08df2d5b9bc354b9497757da1a404;hb=c89dc8888f4761530a32fcc331a20d1a318f074d;hpb=1070f43b7226d425775cf0627a868cea76504bf5 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 \