We explored exiftool, a perl utility to view and edit image metadata, in an earlier article. However, it’s bulky and a lighter alternative sounds good. So we looked up exif, a very tiny utility that can read exif metadata and has limited editing capabilities.
- list exif tags in image
- show exif as tagname-value pairs
- extract, remove, insert thumbnail
- create exif data
- output in XML or machine-readable format
It hides the MarkerNote tag by default and there is an option to show it.
To install on Ubuntu, run:
$ sudo apt-get install exif
To view the exif data of an image, run:
$ exif image.jpg
For other options and more details:
$ exif --help $ man exif