I have a problem similar to https://exiftool.org/forum/index.php?topic=11013.0. In my case, I have some old (~2004) digital images that have been modified with a variety of long-lost (ill-behaving) programs. I've been cleaning up their metadata, including date/times.
I've reduced the images needing work to about 50 images where I can't modify the (incorrect) ExifIFD Date/Time Original : 2004:01:03 20:00:00.
Here are the date/time tags for one image:
Quote[ExifIFD] Date/Time Original : 2004:01:03 20:00:00
[ExifIFD] Create Date : 2004:07:31 13:03:20
[Minolta] Minolta Date : 2004:07:31
[Minolta] Minolta Time : 13:03:20
[XMP-photoshop] Date Created : 2004:01:03 20:00
Using
exiftool "-time:all=2004:07:31 13:03:20" (the correct date/time)
does not change the incorrect date/time.
Is there another way to make this correction?
First, it is not recommended to use -time:all=<some time> without using -wm w because it will add zillions of date/time tags that you probably don't want (see below).
Second, if you can attach or email a sample (philharvey66 at gmail.com) I can help you with a command to change as many dates as possible.
- Phil
Edit: Here are all the date/time tags that are current added when I write -time:all=now
[IFD0] Modify Date : 2020:04:15 14:17:46
[ExifIFD] Date/Time Original : 2020:04:15 14:17:46
[ExifIFD] Create Date : 2020:04:15 14:17:46
[ExifIFD] Offset Time : -04:00
[ExifIFD] Offset Time Original : -04:00
[ExifIFD] Offset Time Digitized : -04:00
[GPS] GPS Time Stamp : 18:17:46
[GPS] GPS Date Stamp : 2020:04:15
[IPTC] Date Sent : 2020:04:15
[IPTC] Time Sent : 14:17:46-04:00
[IPTC] Release Time : 14:17:46-04:00
[IPTC] Expiration Date : 2020:04:15
[IPTC] Expiration Time : 14:17:46-04:00
[IPTC] Reference Date : 2020:04:15
[IPTC] Date Created : 2020:04:15
[IPTC] Time Created : 14:17:46-04:00
[IPTC] Digital Creation Date : 2020:04:15
[IPTC] Digital Creation Time : 14:17:46-04:00
[XMP-DICOM] Patient Birth Date : 2020:04:15 14:17:46-04:00
[XMP-DICOM] Series Date Time : 2020:04:15 14:17:46-04:00
[XMP-DICOM] Study Date Time : 2020:04:15 14:17:46-04:00
[XMP-Device] Camera Pose Timestamp : 2020:04:15 14:17:46.000-04:00
[XMP-Device] Earth Pos Timestamp : 2020:04:15 14:17:46.000-04:00
[XMP-Device] Plane Pose Timestamp : 2020:04:15 14:17:46.000-04:00
[XMP-Device] Pose Timestamp : 2020:04:15 14:17:46.000-04:00
[XMP-GPano] First Photo Date : 2020:04:15 14:17:46-04:00
[XMP-GPano] Last Photo Date : 2020:04:15 14:17:46-04:00
[XMP-getty] Original Create Date Time : 2020:04:15 14:17:46-04:00
[XMP-iptcExt] Artwork Date Created : 2020:04:15 14:17:46-04:00
[XMP-iptcExt] Circa Date Created : now
[XMP-iptcExt] IPTC Last Edited : 2020:04:15 14:17:46-04:00
[XMP-iptcExt] Publication Event Date : 2020:04:15 14:17:46-04:00
[XMP-iptcExt] Temporal Coverage From : 2020:04:15 14:17:46-04:00
[XMP-iptcExt] Temporal Coverage To : 2020:04:15 14:17:46-04:00
[XMP-MP] Region Info Date Regions Valid : 2020:04:15 14:17:46-04:00
[XMP-microsoft] Date Acquired : 2020:04:15 14:17:46-04:00
[XMP-cc] Deprecated On : 2020:04:15 14:17:46-04:00
[XMP-dc] Date : 2020:04:15 14:17:46-04:00
[XMP-digiKam] Captions Date Time Stamps : now
[XMP-dwc] Event Earliest Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Event Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Event Time : 2020:04:15 14:17:46-04:00
[XMP-dwc] Event Latest Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Event Verbatim Event Date : now
[XMP-dwc] Human Observation Earliest Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Human Observation Event Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Human Observation Event Time : 2020:04:15 14:17:46-04:00
[XMP-dwc] Human Observation Latest Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Human Observation Verbatim Event Date: now
[XMP-dwc] Date Identified : 2020:04:15 14:17:46-04:00
[XMP-dwc] Machine Observation Earliest Date: 2020:04:15 14:17:46-04:00
[XMP-dwc] Machine Observation Event Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Machine Observation Event Time : 2020:04:15 14:17:46-04:00
[XMP-dwc] Machine Observation Latest Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Machine Observation Verbatim Event Date: now
[XMP-dwc] Measurement Determined Date : 2020:04:15 14:17:46-04:00
[XMP-dwc] Relationship Established Date : 2020:04:15 14:17:46-04:00
[XMP-exif] Date/Time Digitized : 2020:04:15 14:17:46-04:00
[XMP-pdf] Creation Date : 2020:04:15 14:17:46-04:00
[XMP-photoshop] Date Created : 2020:04:15 14:17:46-04:00
[XMP-plus] First Publication Date : 2020:04:15 14:17:46-04:00
[XMP-plus] License End Date : 2020:04:15 14:17:46-04:00
[XMP-plus] License Start Date : 2020:04:15 14:17:46-04:00
[XMP-plus] License Transaction Date : 2020:04:15 14:17:46-04:00
[XMP-prism] Cover Date : 2020:04:15 14:17:46-04:00
[XMP-prism] Date Recieved : 2020:04:15 14:17:46-04:00
[XMP-prism] Kill Date Date : 2020:04:15 14:17:46-04:00
[XMP-prism] Modification Date : 2020:04:15 14:17:46-04:00
[XMP-prism] Off Sale Date Date : 2020:04:15 14:17:46-04:00
[XMP-prism] On Sale Date Date : 2020:04:15 14:17:46-04:00
[XMP-prism] Publication Date Date : 2020:04:15 14:17:46-04:00
[XMP-prism] Publication Display Date Date : 2020:04:15 14:17:46-04:00
[XMP-pur] Embargo Date : 2020:04:15 14:17:46-04:00
[XMP-pur] Exclusivity End Date : 2020:04:15 14:17:46-04:00
[XMP-pur] Option End Date : 2020:04:15 14:17:46-04:00
[XMP-tiff] Date/Time Modified : 2020:04:15 14:17:46-04:00
[XMP-xmp] Metadata Date : 2020:04:15 14:17:46-04:00
[XMP-xmpDM] Audio Mod Date : 2020:04:15 14:17:46-04:00
[XMP-xmpDM] Metadata Mod Date : 2020:04:15 14:17:46-04:00
[XMP-xmpDM] Shot Date : 2020:04:15 14:17:46-04:00
[XMP-xmpDM] Video Mod Date : 2020:04:15 14:17:46-04:00
[XMP-xmpMM] Derived From Last Modify Date : 2020:04:15 14:17:46-04:00
[XMP-xmpMM] History When : 2020:04:15 14:17:46-04:00
[XMP-xmpMM] Ingredients Last Modify Date : 2020:04:15 14:17:46-04:00
[XMP-xmpMM] Managed From Last Modify Date : 2020:04:15 14:17:46-04:00
[XMP-xmpMM] Manifest Reference Last Modify Date: 2020:04:15 14:17:46-04:00
[XMP-xmpMM] Rendition Of Last Modify Date : 2020:04:15 14:17:46-04:00
[XMP-xmpMM] Versions Event When : 2020:04:15 14:17:46-04:00
[XMP-xmpMM] Versions Modify Date : 2020:04:15 14:17:46-04:00
[Composite] Create Date : 2020:04:15 14:17:46-04:00
[Composite] Date/Time Original : 2020:04:15 14:17:46-04:00
[Composite] Modify Date : 2020:04:15 14:17:46-04:00
[Composite] GPS Date/Time : 2020:04:15 18:17:46Z
[Composite] Date/Time Created : 2020:04:15 14:17:46-04:00
[Composite] Digital Creation Date/Time : 2020:04:15 14:17:46-04:00
Thanks for the quick response. There seems to be some (corruption?) issue with these particular images. I've discovered that I can individually update the metadata tags for these images and get the problem Exif tag to update (I'm using IMatch). Not especially elegant, but it's a one-time task.
IMatch uses ExifTool to write the metadata. :)
Indeed! And all we IMatch users (and Mario) thank you! :)