Rename images by date with correct time

1

I'd like to rename my images according to their date in EXIF information, BUT with a twist: the date in the EXIF information of one camera brand (the one named panasonic) is off by one hour (it should be one hour sooner).

How can I do this in Linux? I have tried using exiftool as mentioned here : Sort and rename images by date in EXIF info, but this one hour offset really bugs me, and I am not good enough in scripts or programmation to do it by myself.

Thanks.

thomasUJ

Posted 2015-10-25T10:31:49.743

Reputation: 31

Answers

1

Run exiftool -alldates-=1 -if '$make eq "Panasonic"' <your dir with photos>, then follow the guide you linked

SΛLVΘ

Posted 2015-10-25T10:31:49.743

Reputation: 1 157

Thanks, it works. If I may also add a completary question: Would it also be possible to append "-panasonic" to all filenames whose picture was taken with this camera brand ? – thomasUJ – 2015-10-25T13:42:56.620

Get the "if" part from the line above, add it to the command you used to change file names, and insert -panasonic before perdiod (dot, full stop) in the date format string (the one after -d) – SΛLVΘ – 2015-10-25T16:08:17.000