#!/bin/sh # This script takes pictures from a Kodak DC-20 digital camera (if you don't # have one, then you really don't want to know) and turns them into # correctly-scaled PPMs. for x in pic_*.cmt ; do cmttoppm <$x | pnmscale -yscale=1.6 >`echo $x | sed 's/cmt$/ppm/'` done