exiftool

Find metadata:

1exiftool "$file".jpg

Find info on all .png images in current directory.

1exiftool -ext .png .

You can make this recurring with the -r switch.

And overwrite all metadata:

1exiftool -all= -overwrite_original -ext jpg .

(NB: This does not work on pdf data. See here for erasing all pdf data)

Or just GPS data:

1exiftool -gps:all= *.jpg