Image-ExifTool - Re: Nikon NEF file DateTimeOriginal Write Error

Posted on Wed Jul 9 20:23:43 2008 by justin in response to 8242 (See the whole thread of 10)
Re: Nikon NEF file DateTimeOriginal Write Error
Thanks Phil, that's great! I've tested the new build and it appears to work. I say appears because I have now noticed the following behavour: Notice that when I try to change the IFD0:DateTimeOriginal tag by 8 hours, it also changes the ExifIFD tag by the same amount. This may of course be by design but my goal is to synchronise all my date tags on a large quantity of .NEF files. This is the classic situation where I forgot to change the time on the camera and being a stickler, I would like to manually change all the meta dates to reflect the local time.
D:\Photos\Library\2006\09\03>exiftool -EXIFIFD:allDates -IFD0:alldates *.nef -s -G1 ======== 2006-09-03 D50-San Francisco-156.NEF [ExifIFD] DateTimeOriginal : 2006:09:03 13:06:56 [ExifIFD] CreateDate : 2006:09:03 13:06:56 [IFD0] DateTimeOriginal : 2006:09:03 21:06:56 [IFD0] ModifyDate : 2006:09:03 13:06:56 D:\Photos\Library\2006\09\03>exiftool -IFD0:DateTimeOriginal-=8 *.nef -s -G1 11 image files updated D:\Photos\Library\2006\09\03>exiftool -EXIFIFD:allDates -IFD0:alldates *.nef -s -G1 ======== 2006-09-03 D50-San Francisco-156.NEF [ExifIFD] DateTimeOriginal : 2006:09:03 05:06:56 [ExifIFD] CreateDate : 2006:09:03 13:06:56 [IFD0] DateTimeOriginal : 2006:09:03 13:06:56 [IFD0] ModifyDate : 2006:09:03 13:06:56
In addition to the above I would be grateful for any informed comment on the following: I noticed some junk data in the xmp area in many of my images, placed by adobe photoshop elements 4. As I intend to move forward with adobe lightroom, I'm considering using exiftool to remove the unwanted xmp data so I can start afresh. It is my understaning that files straight off the camera do not contain xmp data anyway? Any observations/pitfalls would be greatly appreciated. Many thanks Phil for your patience and congratulations on an excellent application! Justin
Direct Responses: 8252 | Write a response