Hi,
I found the -globalTimeShift
parameter in the documentation. Unfortunately, it only lists the shifted dates, but doesn't change the tags and the file attributes (e.g. created at, modified at...), when I ran the example from the docs:
exiftool -globalTimeShift -1 -time:all test.jpg
I have a lot of photos from my last holiday, where I forgot to switch the timezones. So now, all photos and videos are +6 hours and some are +9 hours. Is the -globalTimeShift
parameter the right way to change the Exif Tags and the file attributes?
Thank you very much!
No. The -globalTimeShift option is needed only when you want to copy a shifted date/time value to another tag.
To simply shift the common EXIF date/time tags, plus the system date/time tags back by 1 hour, do this:
exiftool -alldates-=1 -filemodifydate-=1 -filecreatedate-=1 FILE
(Note that writing FileCreateDate is only supported in Windows.)
- Phil
Ah great, thank you!