#!/bin/sh # twenex2unix.sh - Convert file names from Twenex to Unix format # Twenex fn: FILE.EXT.VERSION for t in $*; do \ t1=${t#*>} # Strip t2=${t1%.*} # Strip .VERSION u=`echo $t2|tr A-Z a-z` # Lowercase FILE.EXT echo "$t => $u" mv $t $u done