Most digital cameras and cell phone add EXIF metadata to the images.
If you’re worried about the privacy, you may want to anonymize your images and photos by removing all the EXIF metadata.
In this small guide, i’ll show how to read and then remove all EXIF metadata, using Linux command line utility, named ExifTool.
Under Ubuntu/Linux Mint/Dedian etc.:
$ sudo apt-get install libimage-exiftool-perl
Read EXIF Metadata from Image
Extract and view all EXIF metadata from an image or photo:
$ exiftool image.jpeg
Remove EXIF Metadata from Image
Remove all EXIF metadata from an image or photo:
$ exiftool -all= image.jpeg
Remove EXIF Data from Multiple Files
The next commands, also makes copies of the original files with the “_original” prefix.
Go into the directory with the images.
Execute the following command to remove all EXIF metadata from all images in the current directory:
$ exiftool -all= *
Remove EXIF metadata from images with “.jpeg” extensions only:
$ exiftool -all= *.jpeg