Windows 7 has a nifty feature where user can remove a picture's metadata

In windows 7 user goes to Properties > Details tab > "Remove Properties and Personal Information"

Does Ubuntu have similar feature? How can I remove a picture's metadata using Ubuntu?


Some options.

With exif:

sudo apt-get install exif
cd to/folder/
exif --remove *

With exiftran:

sudo apt-get install exiftran
cd to/folder/
exiftran -d *

With jhead:

sudo apt-get install jhead
cd to/folder/
jhead -purejpg *

With exiv2 (for multiple formats support):

sudo apt-get install exiv2
cd to/folder/
exiv2 rm *
  • exif only works on jpeg? what about other formats, like png? – Gerry Jun 20 '12 at 14:31
  • exif should work on pngs too. – jasmines Jun 20 '12 at 14:34
  • exif looks great. but are the other two options necessary for removal or are they just other manipulation tools to explore? can i just use exif and see all metadata and remove all metadata, or do I need all 3? – Gerry Jun 20 '12 at 14:39
  • The best seems to be exiv2. Execute exiv -h in a terminal for help about your last comment! – jasmines Jun 20 '12 at 14:41
  • When I run sudo apt-get install exiv2 I see this warning: WARNING: The following packages cannot be authenticated! exiv2 Install these packages without verification [y/N]? n – user25656 Jun 20 '12 at 15:31

Phatch contains the ability to remove metadata tags for a batch of photos as well as other nifty batch photo edits. https://apps.ubuntu.com/cat/applications/phatch/

  • do you know if ubuntu has a "built in" ability to remove the metadata? or is an app required to accomplish it? – Gerry Jun 20 '12 at 14:25
  • As far as I know there is no built in way to do out of the box. They have the difficult task of deciding what goes on the 700MB CD so things like image manipulation have to be installed by the users who need them to conserve space. – Reuben Swartz Jun 20 '12 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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