How do I batch change only the year on my photos?

Started by DAV, February 29, 2020, 02:00:11 PM

Previous topic - Next topic

DAV

I want to change only the year on many photos at a time without changing the day, month or time. I don't want to shift the year I want to change it. I am using a mac and I want to import these images to the photos application and I want them to appear in the correct chronological order. So I think the year needs to be changed for the image creation/capture date.

I am clueless with this application so could you please give me the exact line I will need to type into terminal on mac to make this happen. (For example in a folder named test on my desktop and the year I want is 2015)

StarGeek

Try this on a few test files to see if you does what you want.  Replace the 2020 with the year that is already in the file.  Replace "/path/to/files/" with the actual path to the files:
exiftool -TagsFromFile @ -time:all -api 'filter=s/^2020/2015/' /path/to/files/
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

DAV

No this wont work because the problem is the years are not all the same. Thats the problem I am trying to solve by this

StarGeek

The try this, but be careful, it's not so forgiving if the data isn't what you think it is

exiftool -TagsFromFile @ -time:all -api 'filter=s/^\d{4}/2015/' /path/to/files/
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype