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
Try
exiftool -gps*= FileOrDir
This will clear all tags that start with gps regardless of which metadata group they are in.
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
Yes, you should be able to do this: -exif:gps* (on a Mac or on Linux you need to put quotes around the *)