How to remove exif tags using Ubuntu

Exif data provides a interesting insight to how and possibly where a photo was taken, however sometimes you may want to remove the data embedded in your jpg files.

I will be using two lightweight console programs:

exif – Displays the exif data using a console

mogrify – Amongst other things, strips exif data (part of imagemagick package)

Shown below is a screen dump of exif in action.  The command to show machine readable exif information is ‘exif -m picture.jpg’

Now use mogrify to strip the tags ‘mogrify -strip *.jpg’
Note:  morgrify will overwrite/append all files, which is what we want most of the time.

A retest with exif, shows the tags are gone!

WindyCityTech Blogger
windywindycitytech wordpress

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s