Note exiv2 is only available on 64-bit
While working on the upcoming plugin at Graph Paper Press I came across a nifty package called exiv2, which basically reads image meta information, such as City, State, Keywords, Copyright, Software, Lens, etc.
I quickly installed the package on one of my play servers and exported a few photographs of this past BMX race season from my Aperture library. In no time I was on the shell “grepping” away at the metadata.
Below are a few sample commands.
-P (usage -PXnt) X = XMP E = Exif I = IPTC n = tag name t = translated data
Note keywords, city, province/state
Note the lens information.
And of course our basic Exif data.