How do I remove Exif tags (and every other metadata) from pictures? I want to upload pictures that I've taken with my camera but don't want to upload GPS tags or any other tag (for privacy reasons). I'd like to remove every tag in every format. Would prefer a way that can be used in a script (no GUI) because I have lots of images.
You could use exiftool, like this
exiftool -all= FILE
Thanks to this post for reminding me about the right argument.
Another one that I've used successfully is convert (or the similar mogrify) from ImageMagick.
convert IN_FILE -strip OUT_FILE
mogrify -strip FILE