Main Menu

Please, urgent help needed

Started by Orio, September 02, 2024, 01:39:33 AM

Previous topic - Next topic

Orio

Hello,
I did a job yesterday with two cameras, with date/time synchronized, but in one camera I put the wrong year 2025 instead of 2024.
I need to change the year of those images to 2024 while leaving everything else (month day hour seconds) unchanged.
Could anyone please write a command line that does that. I totally suck at anything programming.
Thanks much and God bless you.

Phil Harvey

This command should do it:

exiftool -time:all-="1:0:0 0" FILEorDIR ...

Read here for details about the syntax of the shift string.

Note that this command will preserve the original files with "_original" added to the extension.  If you already have backups, you can add the -overwrite_original option to avoid this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Orio

Quote from: Phil Harvey on September 02, 2024, 08:20:29 AMThis command should do it:

exiftool -time:all-="1:0:0 0" FILEorDIR ...


Thank you SO MUCH... you saved me!!!  :-*