I traveled to another country and forgot to change the time of my Nikon camera to local time.
So after returning I used exiftool(exiftool -AllDates+=1 *.*
) to change time of all the photos but in Finder, "Date Created" changes to present day.
How can I get real created date displayed in Finder?
I understand a new file is created with exiftool so Date Created is present date.
Exif data after shifting the date:
File Modification Date/Time : 2018:08:24 09:44:32-03:00
File Access Date/Time : 2018:08:24 09:48:10-03:00
File Inode Change Date/Time : 2018:08:24 09:44:32-03:00
Modify Date : 2018:08:19 18:46:46
Date/Time Original : 2018:08:19 18:46:46
Create Date : 2018:08:19 18:46:46
A Get Info of an original file
The image was created at 9:04.
9:30 I was still taking pictures, not editing or something
I don't get why Apple does not have a "Date/Time Original" or "Create Date" tab in Finder
SetFile
andGetFileInfo
.cd "$dirname"
and run the following command:for f in *.jpg; do /usr/bin/SetFile -d "$(/usr/bin/GetFileInfo -m "$f")" "$f"; done
That said, I'd make a copy of the target directory and test it on that first.