#import (imp) bash script
mkdir `echo $(date '+%y%m%d')` # make a directory named with today's date (yymmdd)
cd `echo $(date '+%y%m%d')` # change into this new directory
cp -v /media/EOS_DIGITAL/dcim/*/* . # copy the contents of digital-photo-card here
echo 'finished copying, renaming now...' # announce task completed
ls *.jpg | while read f; do mv -v $f ${f/img/`date '+%y%m%d'`}; done # rename img_ prefix of images to the yymmdd date
echo 'done renaming, rotating now...' # announce task completed
jhead -autorot * # rotate all of the photos right-side-up according to embedded camera Exif data
gthumb . # start gnome photo-browser