Neat utility to convert uppercase filenames

Kenneth J. Hendrickson kjh at pollux.usc.edu
Sat Dec 8 08:29:14 AEST 1990


The following Bourne shell script has always worked well for me:

for file in *
do
	mv -i $file `echo $file | tr A-Z a-z`
done

For Sys V, put square brackets around the tr strings.

-- 
favourite oxymorons:   student athlete, military justice, mercy killing
Ken Hendrickson N8DGN/6       kjh at usc.edu      ...!uunet!usc!pollux!kjh



More information about the Alt.sources mailing list