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