Two GPSDateTime tags. How to remove or edit them?

Started by Yanpas, May 13, 2015, 06:06:54 PM

Previous topic - Next topic

Yanpas

I want to change GPSDateTimeand run exiftool img.jpg -GPSDateTime="2000:05:09 11:00:00.11Z" -overwrite_original
but when I run exiftool img.jpg - I see date 2019:04:06 08:06:13.11Z

Then I ran exiftool img.jpg -a -s -G and I see two dates!
....
[XMP]           GPSDateTime                     : 2000:05:09 11:00:00.11Z
[Composite]     Aperture                        : 2.4
[Composite]     GPSAltitude                     : 130.4 m Above Sea Level
[Composite]     GPSDateTime                     : 2019:04:06 08:06:13.11Z
.....

How to set date 2000?

Phil Harvey

If you check the Composite tags documentation, you will see that the Composite GPSDateTime is not writable.  Instead, you must write the tags upon which it is based.

- 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 ($).

Yanpas

Got the idea! Thanks a lot, Phil!
exiftool img.jpg -GPSDateStamp="2015:05:09"

King regards,
Yan