Image-ExifTool - Re: Unable to amend modify-date correctly

Posted on Wed Aug 20 15:16:46 2008 by exiftool in response to 8639 (See the whole thread of 5)
Re: Unable to amend modify-date correctly
Sorry, I was wrong when I said to use -P to preserve the edited FileModifyDate. (Just to be sure you understand: FileModifyDate isn't stored in the file -- it is a pseudo tag generated from the filesystem timestamp for the file.) Here is a terminal transcript showing how to shift common date/time tags plus FileModifyDate:

> exiftool a.jpg -alldates -filemodifydate -a Date/Time Original : 2003:09:30 13:37:51 Create Date : 2003:09:30 13:37:51 Modify Date : 2003:09:30 13:37:51 File Modification Date/Time : 2003:09:30 13:37:51 > exiftool a.jpg -alldates+=7 -filemodifydate+=7 1 image files updated > exiftool a.jpg -alldates -filemodifydate -a Date/Time Original : 2003:09:30 20:37:51 Create Date : 2003:09:30 20:37:51 Modify Date : 2003:09:30 20:37:51 File Modification Date/Time : 2003:09:30 20:37:51

- Phil
Direct Responses: 8653 | Write a response