ExifTool Forum

ExifTool => Newbies => Topic started by: Mattyg on August 13, 2019, 02:46:10 PM

Title: Is it possible to batch remove GPS time stamp from photos?
Post by: Mattyg on August 13, 2019, 02:46:10 PM
I have a .NEF file and want to know if it is possible to remove the GPS time stamp from a group of photos because it is causing conflicts with the camera time stamp.

Thank You
Title: Re: Is it possible to batch remove GPS time stamp from photos?
Post by: StarGeek on August 13, 2019, 03:50:31 PM
Your command would be
exiftool -GPSDateStamp= -GPSTimeStamp= <FileOrDir>

This command creates backup files.  Add the Overwrite_Original option (https://exiftool.org/exiftool_pod.html#overwrite_original) to suppress the creation of backup files.  Add the -r option (https://exiftool.org/exiftool_pod.html#r-.--recurse) to recurse into subdirectories.

But can you expand upon in what way it's causing conflicts?  Is it not being read correctly by some program?  Usually, if a program is reading metadata from a NEF, it should be able to properly parse the GPS timestamp.
Title: Re: Is it possible to batch remove GPS time stamp from photos?
Post by: Mattyg on August 13, 2019, 06:01:50 PM
You are correct. I believe Apple Photos is unable to properly handle both the GPS timestamp and the Camera timestamp. What ended up happening to a bunch of photos is the time for hours and minutes would be from the GPS timestamp while the seconds would be from the Camera timestamp causing the photos to be jumbled.
Title: Re: Is it possible to batch remove GPS time stamp from photos?
Post by: Mattyg on August 13, 2019, 07:21:58 PM
After using the tool and reimporting to Photos, the times now show up correct. Quite an annoying bug with photos.
Title: Re: Is it possible to batch remove GPS time stamp from photos?
Post by: StarGeek on August 13, 2019, 07:52:48 PM
Glad to hear it.