Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

What tools can I use to delete all the EXIF, IPTC, XMP, etc metadata from graphics files?

share|improve this question
add comment

2 Answers 2

jhead can be used to delete metadata from JPG files. The following command line options to jhead are available (quoting the man page for jhead below):

   -dc    Delete comment field from the JPEG header.  Note that the comment is not part of the Exif header.
   -de    Delete the Exif header entirely.  Leaves other metadata sections intact.
   -di    Delete the IPTC section, if present.  Leaves other metadata sections intact.
   -dx    Delete the XMP section, if present.  Leaves other metadata sections intact.
share|improve this answer
add comment

Try exiftool (which is written in perl):

https://owl.phy.queensu.ca/~phil/exiftool/

usage:

exiftool -all= image.jpg
share|improve this answer
add comment

Your Answer

 
discard

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.