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.

Friday, December 16, 2011

LAMP and Drupal installation on Ubuntu


Easy LAMP install:
sudo tasksel install lamp-server


Drupal install instructions:
Reference: https://help.ubuntu.com/community/Drupal

Friday, August 19, 2011

Thursday, May 19, 2011

Finding shutter actuations on your Canon DSLR


I used gphoto2 on Linux, actual command is:

gphoto2 --get-config /main/status/shuttercounter

connect your camera to USB on computer and run this :)