Hi,
I am trying to set the gps info for a number of images using a set of .gpx files. The images are time stamped in UTC+10, the gpx files are time stamped using UTC. My laptop is set to UTC+2.
Using the following commands, exiftool ignores -geosync and -globalTimeShift:
exiftool -overwrite_original -geosync=+8:00 -geotag '/home/simao/tracks/*.gpx' IMG_{5610..5815}.JPG
exiftool -overwrite_original -globalTimeShift -8 -geotag '/home/simao/tracks/*.gpx' IMG_{5610..5815}.JPG
I was able to make this work shifting the times manually:
exiftool -alldates-=8 -overwrite_original IMG_{5610..5815}.JPG
exiftool -overwrite_original -geotag '/home/simao/tracks/*.gpx' IMG_{5610..5815}.JPG
exiftool -alldates+=8 -overwrite_original IMG_{5610..5815}.JPG
Is this a problem with exiftool or am I doing something wrong?
I am using exiftool 10.80 on Linux.
Thanks
The Geosync tag accepts a value in the form "[+-][[[DD ]HH:]MM:]SS[.ss]", so a value of "+8:00" is interpreted as "+MM:SS", for an offset of 8 minutes. I think you want 8 hours:
exiftool -overwrite_original -geosync=+8:00:00 -geotag '/home/simao/tracks/*.gpx' IMG_{5610..5815}.JPG
You're right that the GlobalTimeShift doesn't apply by default because the default GeoTime is set to "DateTimeOriginal#" (ie. the unformatted/unshifted DateTimeOriginal). To apply the GlobalTimeShift, you would do this:
exiftool -overwrite_original -globalTimeShift -8 -geotag '/home/simao/tracks/*.gpx' '-geotime<datetimeoriginal' IMG_{5610..5815}.JPG
- Phil
ah ok. Thanks for your help.