Exiftool
Updated: September 28, 2024
Exiftool is used to view and manage exif data of a file.
Related tools are identify from imagemagic. Exiftool is the one :)
Table of Contents
Commands
# View data
exiftools file.png
# create new image but without data
exiftool -all=file.png
# remove data without creating a copy
exiftool -overwrite-original -all=file.png
# remove exif data of an entire directory
exiftool -recurse -all=<path>
# remove only exif data
exiftool -EXIF=file.png
# view a certain stat
exiftool file.png | grep gps
# remove all gps data
exiftool -gps:all=file.png