exiv2
Image metadata manipulation tool. tldr-pages
On several platforms
Several platforms
Print a summary of the image Exif metadata
exiv2 path/to/fileIdentifyPrint all metadata (Exif, IPTC, XMP) with interpreted values
exiv2 -Print kt path/to/fileIdentifyPrint all metadata with raw values
exiv2 -Print kv path/to/fileIdentifyDelete all metadata from an image
exiv2 --delete a path/to/fileIdentifyDelete all metadata, preserving the file timestamp
exiv2 --delete a --keep path/to/fileIdentifyRename the file, prepending the date and time from metadata (not from the file timestamp)
exiv2 --rename '%Y%m%d_%H%M%S_:basename:' path/to/fileIdentify