How to remove metadata from your images

The devices we use to take pictures embed extra data storing information related to the picture like date captured, GPS location, make and model of device and much more. Here is a quick solution to remove that metadata from your photos on Mac OS X.

brew install exiv2

To view metadata of your photo.jpg

exiv2 -pa photo.jpg

To delete all metadata from photo.jpg

exiv2 -da photo.jpg

To batch remove metadata from a folder of images

exiv2 -da *.jpg