Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!philapd!ssp2!mbrands From: mbrands@idca.tds.PHILIPS.nl (Manfred Brands) Newsgroups: comp.unix.xenix Subject: Re: Filenames -- converting Message-ID: <443@ssp2.idca.tds.philips.nl> Date: 9 Jun 89 07:25:41 GMT References: <1011@cernvax.UUCP> <3339@cps3xx.UUCP> <655@eecea.eece.ksu.edu> <25879@beta.lanl.gov> Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 22 In article <25879@beta.lanl.gov> srb@beta.UUCP ( Steve Berger ) writes: > > I have a directory with all the filenames in Uppercase letters. > I'd like to move them all to lowercase. > Try: for file in * do mv $file `echo $file | tr '[A-Z]' '[a-z]'` done I use it when I have transferred files from my DOS system to a UNIX system using Kermit. Manfred. -- # Manfred Brands INTERNET: mbrands@idca.tds.philips.nl # # Philips TDS, Dept. SSP UUCP: ...!mcvax!philapd!mbrands # # P.O. Box 245 VOICE: +31 55 432097 # # 7300 AE Apeldoorn, The Netherlands #