Ubuntu: Is there a tool for removing metadata?


the title says it all. is there a tool?

I installed ExifTool, but can't find a way to remove all at once with one command.


You can use Metadata Extraction Tool

The Metadata Extract Tool includes a number of 'adapters' that extract metadata from specific file types. Extractors are currently provided for:

  • Images: BMP, GIF, JPEG and TIFF.
  • Office documents: MS Word (version 2, 6), Word Perfect, Open Office (version 1), MS Works, MS Excel, MS PowerPoint, and PDF.
  • Audio and Video: WAV, MP3 (normal and with ID3Tags), BFW, FLAC.
  • Markup languages: HTML and XML.
  • Internet files: ARC

If a file type is unknown the tool applies a generic adapter, which extracts data that the host system 'knows' about any given file (such as size, file name, and date created).

For more information, and to download visit Metadata Extraction Tool

Source:Metadata Extraction Tool


Yes, there is a tool to remove metadata called exiv2.

Usage: exiv2 rm /path/to/location/files


exiftool -all= inputfile  

The latest version of exiftool supports most file formats.


The Metadata anonymisation toolkit would do the trick for you. It has a GUI as well.

After Enabling the Universe Repository you can install it with:

sudo apt-get install mat  


First, install exiftool using this command:

sudo apt-get install libimage-exiftool-perl  

Then, go into the directory with the JPEG files. If you want to remove metadata from every file in the directory, use

exiftool -all= *.jpg  

For single file, use

exiftool -all= <filename>.jpg  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »