Nick Raeven
Nick Raeven

Reputation: 13

Change photo date taken to value in date modified

I came across an old set of photo's taken in the 90's. These photo's have 2 dates in the exif. A date modified (the correct date) and a date taken (a date somewhere last year). When importing this into my photo database it has the wrong date associated.

I'd like to run an apple automator or applescript to copy the modified date into the taken date.

Anyone willing to help me with this?

Upvotes: 0

Views: 1212

Answers (1)

Mark Setchell
Mark Setchell

Reputation: 207425

Please make a backup first, and then just run the following commands in a directory that is a COPY of your files.

You can do that with exiftool which you can install using homebrew with:

brew install exiftool

I believe the command you want in Terminal is:

exiftool "-EXIF:DateTimeOriginal<FileModifyDate" image.jpg

Just do one file for now, and check before and after with:

exiftool image.jpg

If it all looks good, you can do all the files with:

exiftool "-EXIF:DateTimeOriginal<FileModifyDate" *.jpg

Upvotes: 2

Related Questions