Filenames -- converting

Maarten Litmaath maart at cs.vu.nl
Fri Jun 9 12:48:43 AEST 1989


srb at beta.lanl.gov ( Steve Berger ) writes:
\ I have a directory with all the filenames in Uppercase letters.
\ I'd like to move them all to lowercase.

for i in *
do
	mv $i `echo $i | tr '[A-Z]' '[a-z]'`
done
-- 
 "Your password [should be] like your |Maarten Litmaath @ VU Amsterdam:
      toothbrush." (Don Alvarez)      |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.unix.xenix mailing list