Gpsdatestamp and gpstimestamp

Started by neebah, August 14, 2016, 01:43:09 PM

Previous topic - Next topic

neebah

Is there a command for adding gpsdatestamp and gpstimestamp from
The image taken time offset by the timezone

Phil Harvey

Yes.  See GPSDateStamp and GPSTimeStamp in the GPS Tags documentation for an explanation.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

neebah


Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

neebah


neebah

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

Would this be correct if I wanted to apply to a whole directory. 

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).