Exiftool

Installation and usage

Exiftool is a cli tool for viewing and editing of file metadata. My typical use case is to view metadata of photos and remove them before publishing online to get rid of GPS coordinates when required.

# install exiftool for termux
pkg install exiftool

# view metadata for <file>
exiftool <file>

# remove the metadata from file backing up original <file> to <file>_original
exiftool -all= <file>

# remove the metadata from <file> in place
exiftool -overwrite_original -all= <file>