How to remove EXIF data without recompressing the JPEG?
exiftool does the job for me, it’s written in perl so should work for you on any o/s https://exiftool.org/ usage : exiftool -all= image.jpg UPDATED – as PeterCo explains below this will remove ALL of the tags. if you just want to remove the EXIF tags then you should use exiftool -EXIF= image.jpg