I've copied some old videos from Mac Photos library to my desktop.
Dates displayed in Finder and 'Get Info' are all 'now'.
Exiftool shows that Creation Date is correct so I tried
exiftool "-AllDates<CreationDate" /path-to file.MOV
That created some dates tags but those that Apple uses and shows as Now (year 2024 instead of 2016) weren't modified
Creation Date : 2016:05:28 14:22:56-03:00
Date/Time Original : 2016:05:28 14:22:56-03:00
Create Date : 2016:05:28 14:22:56-03:00
Modify Date : 2016:05:28 14:22:56-03:00
File Modification Date/Time : 2024:04:01 09:24:05-03:00
File Access Date/Time : 2024:04:01 09:25:50-03:00
File Inode Change Date/Time : 2024:04:01 09:24:05-03:00
Track Create Date : 2024:04:01 11:56:17
Track Modify Date : 2024:04:01 11:56:17
Media Create Date : 2024:04:01 11:56:17
Media Modify Date : 2024:04:01 11:56:17
AllDates is a Shortcut tag (see the Shortcuts tags page (https://exiftool.org/TagNames/Shortcuts.html)) that only writes the three most common EXIF timestamps, CreateDate, DateTimeOriginal, and ModifyDate. Any other tag has to be set separately.
Of the others, the most likely tags would be the FileModifyDate and the FileInodeChangeDate. Exiftool can set the first one, but not the second. You would run the same command, except change AllDates into FileModifyDate.
FileAccessDate can be ignored as that will change every time the file is touched.
That did the job!
I was trying with FileModificationDate tag.
Thank you!
Quote from: marciano on April 01, 2024, 01:25:50 PMI was trying with FileModificationDate tag.
This is FAQ #2/3 (https://exiftool.org/faq.html#Q2). "File Modification Date/Time" is a tag description, not a tag name. The command in FAQ #3 gives you the actual name, among other things.