ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: neebah on August 14, 2016, 01:43:09 PM

Title: Gpsdatestamp and gpstimestamp
Post by: neebah on August 14, 2016, 01:43:09 PM
Is there a command for adding gpsdatestamp and gpstimestamp from
The image taken time offset by the timezone
Title: Re: Gpsdatestamp and gpstimestamp
Post by: Phil Harvey on August 15, 2016, 07:45:41 AM
Yes.  See GPSDateStamp and GPSTimeStamp in the GPS Tags documentation (https://exiftool.org/TagNames/GPS.html) for an explanation.

- Phil
Title: Re: Gpsdatestamp and gpstimestamp
Post by: neebah on August 15, 2016, 10:22:35 AM
How do I offset the time zone
Title: Re: Gpsdatestamp and gpstimestamp
Post by: Phil Harvey on August 15, 2016, 10:42:28 AM
If the tag you are copying from already has a time zone (ie. FileModifyDate), then you are good to go.

Otherwise, you can add the time zone like this:

exiftool "-gpstimestamp<${createdate}-04:00" FILE

- Phil
Title: Re: Gpsdatestamp and gpstimestamp
Post by: neebah on August 15, 2016, 11:08:33 AM
Thank you
Title: Re: Gpsdatestamp and gpstimestamp
Post by: neebah on August 15, 2016, 11:48:32 AM
exiftool "-gpstimestamp<${createdate}-04:00" DIR

Would this be correct if I wanted to apply to a whole directory. 
Title: Re: Gpsdatestamp and gpstimestamp
Post by: Phil Harvey on August 15, 2016, 11:50:18 AM
Yes.  FILE may be one or more file and/or directory names.  Add -r to also process subdirectories if a directory name is specified.

- Phil