Deleting Exif GPS Tags

Started by Paul Barrett, December 03, 2016, 06:39:13 PM

Previous topic - Next topic

Paul Barrett

Hi guys

I have a bunch of Exif GPS tags I want to remove from some files.  I have been reading about the TAG command and how to use wildcard characters to delete similarly named tags but I could not quite follow it all.  Can you please help me with an example based on the tags that follow please?  I get the 'exiftool' prefix and the switches for child folders.  It's the core piece of the command I am struggling with.

GPSVersionID                 
GPSLatitudeRef                 
GPSLongitudeRef               
GPSTimeStamp                   
GPSStatus                       
GPSMeasureMode               
GPSDilutionOfPrecision       
GPSDestLatitudeRef   
GPSDateStamp

Regards

- Paul

StarGeek

Try
exiftool -gps*= FileOrDir

This will clear all tags that start with gps regardless of which metadata group they are in.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Paul Barrett

Thanks StarGeek, that looks very cool.

What if I ONLY want to delete the GPS data in the EXIF section though?  Can I prefix -gps* with the section title in some way?

Thanks

- Paul

Hayo Baan

Yes, you should be able to do this: -exif:gps* (on a Mac or on Linux you need to put quotes around the *)
Hayo Baan – Photography
Web: www.hayobaan.nl