I find jhead quite useful for keeping some order on my file-system based photos organization “system”. For my own reference, here’s how to rename a bunch of jpegs according to their EXIF information:

jhead -n%Y%m%d-%H%M%S *.jpg