I want to remove the EXIF information (including thumbnail, metadata, camera info... everything!) from JPEG files, but I don't want to recompress it, as recompressing the JPEG will degrade the quality, as well as usually increasing the file size.
I'm looking for a Unix/Linux solution, even better if using the command-line. If possible, using ImageMagick (convert tool). If that's not possible, a small Python, Perl, PHP (or other common language on Linux) script would be ok.
There is a similar question, but related to .NET.
exiftool does the job for me, it's written in perl so should work for you on any operating system.
To remove the EXIF tags then you should use:
exiftool -EXIF= image.jpg
Remove ALL of the tags including EXIF tags (thanks PeterCo):
exiftool -all= image.jpg