From c89dc8888f4761530a32fcc331a20d1a318f074d Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sun, 21 Sep 2014 21:40:46 +0200 Subject: [PATCH] Update for exif 0.6.20. --- redatepic.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- 2.39.5