There's a lot to learn about image files on the command line, from verifying file format to finding out where and when photos were taken and maybe even getting an unusual view of what they look like.
I have a script for Maya and Photoshop that I'm trying to make compatible for Windows users. Maya's MEL scripting lets you send system commands so I have a simple command line script for OS X that ...