Changing upper-case filenames to lower-case

Dave Binette dbin at norsat.UUCP
Sun Nov 19 19:08:12 AEST 1989


:
# loname
# convert uppercase names to lowercase
for i in $*
do
	L=`echo $i|tr "[A-Z]" "[a-z]"`
	echo $i $L
	mv $i $L
done
-- 
"If I was smarter than I was bad, I wouldn't get in any trouble" (Laura 4yrs.)
uucp:  {uunet,ubc-cs}!van-bc!norsat!dbin | 302-12886 78th Ave
bbs:   (604)597-4361     24/12/PEP/3     | Surrey BC CANADA
voice: (604)597-6298     (Dave Binette)  | V3W 8E7



More information about the Comp.unix.questions mailing list