Skip to content

Instantly share code, notes, and snippets.

@WaffleLapkin
Created September 14, 2021 20:07
Show Gist options
  • Save WaffleLapkin/a4892f136d9a5ea91a33eaedbb5462c1 to your computer and use it in GitHub Desktop.
Save WaffleLapkin/a4892f136d9a5ea91a33eaedbb5462c1 to your computer and use it in GitHub Desktop.
Remove GPS information from exif tags of all pictures in `./dir`
exiv2 \
-M'del Exif.GPSInfo.GPSLatitudeRef' \
-M'del Exif.GPSInfo.GPSLatitude' \
-M'del Exif.GPSInfo.GPSLongitudeRef' \
-M'del Exif.GPSInfo.GPSLongitude' \
-M'del Exif.GPSInfo.GPSAltitudeRef' \
-M'del Exif.GPSInfo.GPSAltitude' \
-M'del Exif.GPSInfo.GPSTimeStamp' \
-M'del Exif.GPSInfo.GPSImgDirectionRef' \
-M'del Exif.GPSInfo.GPSImgDirection' \
-M'del Exif.GPSInfo.GPSDateStamp' \
-M'del Exif.GPSInfo.GPSVersionID' \
./dir/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment