Last active
December 12, 2021 20:20
-
-
Save lummie/732b8cb0b478966b91a7f9244c7aeac7 to your computer and use it in GitHub Desktop.
Change exif timezone with exiftool -8 hour
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I'm forever forgetting to adjust the time zone on my camera when taking pictures on vacation | |
// this uses the linux exiftool to adjust the timezone -8 hours for all images in a directory | |
exiftool "-DateTimeOriginal-=0:0:0 8:0:0" * |
To be EXIF >2.31 compatbile, use -OffsetTimeOriginal=-04:00
. timeZoneOffset
is not part of any official standard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script does not change timezone, it change datetime. That is not enough, i.e., Google Photo could show file with invalid time. Use also
. exiftool "-timeZoneOffset=-4" .
(assume photo taken in UTC-4)