#!/bin/rc # rename files # Fri Nov 19 07:40:26 EST 2004 Peter A. Cejchan # usage: ren filepattern 's/old/new' rfork e for(i in $1) { newname = `{echo $1 | sed $2} mv $i $newname } #-eof-