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=21ae130ac712bef090b9ebfe92af81a45dbb9c6a;hpb=4ab8789562205cc53a6050d41ff68e22f8b376ec 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 \