I extract all photos from the Mac/phone on a regular basis, but have now noticed thousands of photoes don't have the right creation date. In Windows and on Amazon Photos, they don't show because it doesn't exist.
I can see the XMP-xmp CreateDate and the XMP-Photoshop DateCreated are correct for all the PNG files that were exported, so my assumption is I need to copy one of those to the PNG CreationTime - and that command line is the one I'm struggling with
I ended up various ways, thinking perhaps this would work, but nothing.
exiftool.exe -p "PNG:CreationTime<XMP-xmp:CreateDate" "Z:\Photos\img_4561.png"
or
exiftool.exe -p "-FileCreateDate<XMP-xmp:CreateDate" "Z:\Photos\img_4561.png"
Clearly I'm missing something critical, do any of you amazing folks know the answer to this conundrum?
Thanks!
You need capital -P, not lower case.
- Phil
Ah, one step forward but not there yet
This sets the filecreation date ok but I'm still trying to get the PNG CreationTime to match the XMP:CreateDate, but weirdly the second reads the file but also says file not found! I want to set this so Amazon photos puts them all in the timeline correctly.
exiftool.exe -P "-FileCreateDate<XMP-xmp:CreateDate" image.png
1 image files updated
exiftool.exe -P "PNG:CreationTime<XMP-xmp:CreateDate" image.png
Error: File not found - PNG:CreationTime<XMP-xmp:CreateDate
======== image.png
ExifTool Version Number : 12.04
File Name : image.png
Directory : .
File Size : 16 MB
File Modification Date/Time : 2019:09:20 18:25:27+01:00
File Access Date/Time : 2020:08:15 11:54:20+01:00
File Creation Date/Time : 2019:08:18 14:52:28+01:00
Solved! Thanks. I can now fix all the photos exported from the Mac
It just needed -PNG rather than just PNG
exiftool.exe -P "-PNG:CreationTime<XMP-xmp:CreateDate" image.png