Changing create date that MacOS shows

Started by marciano, April 01, 2024, 08:48:44 AM

Previous topic - Next topic

marciano

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.MOVThat 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

StarGeek

AllDates is a Shortcut tag (see the Shortcuts tags page) 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.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

marciano

That did the job!
I was trying with FileModificationDate tag.
Thank you!

StarGeek

Quote from: marciano on April 01, 2024, 01:25:50 PMI was trying with FileModificationDate tag.

This is FAQ #2/3.  "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.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).