How to strip JPEG metadata in Ubuntu
mattcutts.com
mattcutts.com
EXIF isn't the only metadata in jpeg files. IPTC and other forms exist, so if you want to really make them clean make sure you get everything.
exiv2[0] can be used to do that. I have a script I use to remove all metadata from sensitive images I collect for research (UAV aerial photography) before posting).
Camera model? Camera serial number? A link to the facebook page of the owner of the camera?
jpegtran -optimize -copy none -o outfile.jpg image.jpg
EDIT: recursive in-place optimization and stripping of all jpegs under current dir: find . -iname \*.jp*g -exec jpegtran -optimize -copy none -verbose -outfile {} {} \;[1]: http://imgur.com
mogrify -strip *.jpg
work just as well?