Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know there are several windows programs to do this, and photoshop has a "Save for Web" option which does this, but I want a command line option, or a batch processing option for this. Any thoughts?

share|improve this question
Have you tried Automator, maybe with third party actions (e.g. Pixelmator?)? –  Daniel Beck Sep 14 '11 at 14:15

4 Answers 4

up vote 9 down vote accepted

Have a look at Imagemagick. Its -strip option clear an image of any profiles and comments.

convert orig.jpg -strip result.jpg


mogrify -strip orig.jpg

Here's more info on photo handling with Imagemagick.

share|improve this answer
I did not want to spend a lot of time and although was interested to work with Imagemagick, spend 10+ minutes configuring it. I tried SmallImage and got what I wanted in 2 min. –  user200507 Feb 19 '13 at 13:35
@user200507 To quote the OP, "I want a command line option, or a batch processing option for this." I stand by Imagemagick as being the best at this. –  Ellesa Feb 26 '13 at 6:26

One of the easiest software I've found, with a GUI, to remove EXIF data is SmallImage.

share|improve this answer

Since you mention Photoshop: Photoshop is scriptable using vbscript, javascript, or applescript. Here is an OK quick-start quide which includes a code snippet that utilizes the save for web feature. ( http://www.mactech.com/articles/mactech/Vol.22/22.08/ScriptingPhotoshop/index.html )

share|improve this answer

actually nconvert strips far more from the jpgs


nconvert.exe -rmeta -rexifthumb -o small.jpg big.jpg
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.