There is a jhead program, forgot which package installs that.<br><br>It extracts the EXIF data from any file that has EXIF.<br><br><span style="font-family: courier new,monospace;"># jhead ./large-flower/dscf4095.jpg</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">File name    : ./large-flower/dscf4095.jpg</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">File size    : 900105 bytes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">File date    : 2009:05:31 16:23:52</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Camera make  : FUJIFILM</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Camera model : FinePix S5100</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Date/Time    : 2009:05:31 16:23:51</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Resolution   : 2272 x 1704</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Flash used   : No</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Focal length :  7.5mm  (35mm equivalent: 51mm)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CCD width    : 5.34mm</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Exposure time: 0.0042 s  (1/240)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Aperture     : f/2.9</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ISO equiv.   : 400</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Whitebalance : Manual</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Metering Mode: matrix</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Exposure     : program (auto)</span><br style="font-family: courier new,monospace;">
<br>You can run that through grep and extract whichever fields make sense to you.<br><br><div class="gmail_quote">On Tue, Aug 11, 2009 at 10:51 PM, Chris Frey <span dir="ltr"><<a href="mailto:cdfrey@foursquare.net">cdfrey@foursquare.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Tue, Aug 11, 2009 at 10:12:04PM -0400, L.D. Paniak wrote:<br>
> Is the EXIF data compressed with the image or just a header floating on<br>
> top? Could one just compare the tails of the files?<br>
><br>
> for file in *; do echo "$(tail $file |md5sum) $file" >>tmp;  done<br>
><br>
> sort tmp<br>
<br>
</div>According to a quick scan of wikipedia, looks like the EXIF header is<br>
at the beginning of the file.  Looking at some sample files from my<br>
camera, the information is not compressed.<br>
<br>
So looks like tail would work too, as long as the end doesn't contain<br>
the same data across multiple pictures.  I don't know if things like<br>
colour profiles are stored at the end or not.<br>
<font color="#888888"><br>
- Chris<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a> mailing list<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a>@<a href="http://kwlug.org" target="_blank">kwlug.org</a><br>
<a href="http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>