Update for exif 0.6.20.
[scripts.git] / redatepic.sh
index 06460d4..fc6a606 100755 (executable)
@@ -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 \