Thursday, January 12, 2012

Finding the Focal Length Usage for your photos

find /$PHOTODIR/ -name "*.JPG" -exec "exiftool {}" \; | grep "Focal Length" | split -f2 -d":" | sed "s/.0//" | sort -g | uniq -c > FocalLength.txt

Reference: http://www.pentaxforums.com/forums/249573-post5.html
I have also used Exiftool to extract that information directly and use GNUPlot for plotting them, simple and nice!

Monday, January 09, 2012

Dell BIOS Update in Ubuntu

What if you don't have (read: don't want) Windows on your box to do the BIOS updates.

Here is a very good explanation.