From: Francois Fleuret Date: Sun, 21 Sep 2014 19:40:46 +0000 (+0200) Subject: Update for exif 0.6.20. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=c89dc8888f4761530a32fcc331a20d1a318f074d;p=scripts.git Update for exif 0.6.20. --- 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 \