How To Strip EXIF Data

By | 2010/08/07

How can I strip EXIF, GPS, and other metadata from photos in Linux?

Using a single command from the wonderful ImageMagick, you can strip all of that personal data from your photos before posting them to the web.

First, install ImageMagick:

sudo apt-get install imagemagick

Then simply run this command below.

Note: *.jpg will strip and entire directory of jpg images. You can also just specify one image if desired.

mogrify -strip *.jpg

Read more about mogrify here.


2 thoughts on “How To Strip EXIF Data

  1. Jared

    Nice! I should read up on the other options of mogrify.


Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.