

Like exiftool, Imagemagick is available from the Ubuntu repositories. If you are converting an image file, you can also strip its metadata in one step like this: convert image.jpg -resize=400 -quality 70% -strip newimage.jpg Imagemagick is a fantastic command line image manipulation tool. sudo apt-get install libimage-exiftool-perl Method 2. The original files are preserved by appending _original to their filenames.Įxiftool is available in the Ubuntu repositories as libimage-exiftool-perl. There is no image conversion, so the image quality remains the same. Exiftool duplicates the existing files but without the metadata. The -all= affects all metadata, and the *.jpg tells what files to modify. There are many settings possible, but to strip everything, enter this command in a command line: exiftool -all= *.jpgĪll metadata is removed from all. Yes, there is, and here are two ways to do it.Įxiftool modifies metadata in files.

Is there any way to strip this extra info? When you upload these images to the Internet, the metadata is uploaded also, so anyone can view it to piece together tidbits of information about your life and habits or even discover where you live. (In Ubuntu, right-click on an image file, and select Properties > Image to view the metadata.)

I tried to read the man for exiftool but Im still having trouble with the command. Is there a way to remove all metadata with an exception The current command I use is: exiftool -all. These details may include geolocation, the kind of camera you own, your time zone, the date and time the picture was taken, and even the software you use. I need to remove all metadata from the pictures in one folder, except for the date it was taken. However, if you value your privacy, this information can reveal details about yourself. Digital cameras often add a wealth of extra information to images for improved filing.
