to change the date based on exif data since export from Mac Photos shows date of export using exiftool I used the following to change the Date Created to the actual date the photo was taken because exporting from Photos showed the date of export.
&quot;for file in *; do SetFile -d &quot;$(exiftool -p '$CreateDate' -d '%m/%d/%Y %H:%M:%S' &quot;$file&quot;)&quot; &quot;$file&quot;; done&quot;
I got the following warning:
&quot;Warning: [minor] Adjusted MakerNotes base by 46 - IMG_1369.JPG&quot; -- what does this mean?
I found the above suggestion at this thread:
Export from Mac Photos app while keeping date created data?
Also what is the cmd to change &quot;Date Modifed&quot; using exiftool?
Thanks.
As a test, I exported six photos as JPG files from Photos, on macOS High Sierra, into a new folder.
Then in Terminal I change directory to the new folder containing the exported photos and ran the following command to change both the create and modify date/time from the EXIF info:
for f in *; do SetFile -d &quot;$(exiftool -p '$CreateDate' -d '%m/%d/%Y %T' &quot;${f}&quot;)&quot; -m &quot;$(exiftool -p '$ModifyDate' -d '%m/%d/%Y %T' &quot;${f}&quot;)&quot; &quot;${f}&quot;; done

The prompt returned without error, and the exported files now have the original create and modify date/time.