Red Security

Full Version: ExifTool Metadata File Eraser Cross-Platform
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ExifTool


# ExifTool is a widely used tool for {read, write, edit} metadata in image files. It's available for {Windows, Mac, Linux}.
#Install Exiftool

# install exiftool


PHP Code:
sudo apt-cache install libimage-exiftool-perl      #try this one first
sudo apt-get install libimage-exiftool-perl        #if it dosen't work then this is plan B 


# For Mac, Microsoft Windows, see ExifTool home page at http://owl.phy.queensu.ca/~phil/exiftool/

#View Metadata
#How to view metadata of image file?

# show metadata of a image file



PHP Code:
exiftool myPhoto.jpg 



# show metedata for all *jpg files in current dir



PHP Code:
exiftool -ext jpg 

[attachment=81]

# show metedata for all *jpg files in current dir and subdirs



PHP Code:
exiftool --ext jpg 



# Remove Metadata
How to remove metadata of a image file?

# remove all metadata of a image file



PHP Code:
exiftool -all= -overwrite_original photo.jpg 



# remove all metadata of all *jpg files in current dir



PHP Code:
exiftool -all= -overwrite_original -ext jpg 



# remove metedata for all *jpg files in current dir and subdirs



PHP Code:
exiftool -all= --overwrite_original -ext jpg 



#The -ext jpg is case-sensitive. So, you might use -ext JPG or -ext jpeg or -ext png.


#How to remove just GPS data?

# remove all GPS metadata of *jpg files in current dir



PHP Code:
exiftool -gps:all= *.jpg 



#ImageMagick 「identify -verbose」

#A alternative to exiftool is ImageMagick identify -verbose.

###############----I Hope you found this post helpful, have a great day!
#~MR3
I updated your thread a bit Smile , Cool tool actually.
(09-22-2018, 08:33 AM)Mr.Kurd Wrote: [ -> ]I updated your thread a bit Smile , Cool tool actually.

How you do this? https://redsecurity.info/cc/images/smilies/biggrin.png
(09-22-2018, 08:40 AM)MR3 Wrote: [ -> ]
(09-22-2018, 08:33 AM)Mr.Kurd Wrote: [ -> ]I updated your thread a bit Smile , Cool tool actually.

How you do this? https://redsecurity.info/cc/images/smilies/biggrin.png

Well if no script enabled, You have a box on the left:
[Image: kxd03g]