Hi,
Firstly I should say that I'm a total newbie to ExifTool and know nothing about command lines!
I've successfully used ExifTool in conjunction with PyExifTool on my Mac to edit the Date and Time Exif data on some iPhone JPGs -
however when I view these images in Lightroom or in Preview the Date and Time fields are missing.
Have I done something wrong and is there a way to make them visible?
Thanks in advance.
I think that reading FAQ 3 (https://exiftool.org/faq.html#Q3) may help here.
You can use this command to see what date/time tags exist in your file:
exiftool -a -G1 -s -time:all FILE
If you still have problems, post the output of this command and we may be able to help more.
- Phil
Hi Phil,
Thanks for your speedy reply.
As I mentioned, Terminal is new to me but I've opened it, typed in exiftool and drag and dropped an image from my desktop
in order to use:
exiftool -a -G1 -s -time:all FILE
Unfortunately I'm falling at the first hurdle and am getting:
Pattern not found (press RETURN)
Hello again!
I've worked out how to add the image and using:
exiftool -a -G1 -s -time:all FILE
I get this:
[System] FileModifyDate : 2016:12:07 15:20:36+00:00
[System] FileAccessDate : 2016:12:07 17:32:21+00:00
[System] FileInodeChangeDate : 2016:12:07 15:20:36+00:00
[IFD0] ModifyDate : 2016:22:10 14:05:33
[ExifIFD] DateTimeOriginal : 2016:22:10 14:05:33
[ExifIFD] CreateDate : 2016:22:10 14:05:33
[ExifIFD] SubSecTimeOriginal : 352
[ExifIFD] SubSecTimeDigitized : 352
[GPS] GPSTimeStamp : 10:56:07
[GPS] GPSDateStamp : 2016:10:14
[XMP-exif] DateTimeOriginal : 2016:22:10 14:05:33
[XMP-exif] GPSDateTime : 2016:10:14 10:56:07Z
[XMP-xmp] CreateDate : 2016:22:10 14:05:33
[XMP-xmp] ModifyDate : 2016:22:10 14:05:33
[Composite] GPSDateTime : 2016:10:14 10:56:07Z
[Composite] SubSecCreateDate : 2016:22:10 14:05:33.352
[Composite] SubSecDateTimeOriginal : 2016:22:10 14:05:33.352
From this can you see why the edited Date & Time doesn't show in other applications?
Thank you for your help.
Barney.
Hi Barney, what is the date you want to see? Normally datetimeoriginal is used if it exists, is that not what you are getting?
Depending upon the program, maybe the image/metadata needs to be reloaded.
Hi, thanks for your replies.
Dropping an image out of the camera on OS 10.10 Preview I can see this:
Date Time Digitized: 1 Aug 2015 13:44:39
Date Time Original: 1 Aug 2015 13:44:39
If I modify these fields in ExifTool and do the same, I can't see them - nor can I see them in Lightroom,
Photoshop or Get Info in the Finder.
Thanks,
Barney.
Quote from: BarneyRubble on December 07, 2016, 03:23:19 PM
If I modify these fields in ExifTool and do the same, I can't see them - nor can I see them in Lightroom,
Photoshop or Get Info in the Finder.
You can't see the changes or the tags completely disappear?
The tags disappear.
I tried running this command on OS X 10.10.5 on an Apple iPhone 5 JPG:
exiftool -datetimeoriginal="2014:01:02 03:04:05" test.jpg
and then I opened it in Preview and it then shows a "Date Time Original" of "Jan 2, 2014, 3:04:05 AM".
- Phil