Path: utzoo!utgpu!watmath!watdragon!watcsc!sean From: sean@watcsc.waterloo.edu (Sean Goggin) Newsgroups: comp.unix.questions Subject: Re: moving upper case names to lower case Message-ID: <1989Aug24.000623.578@watcsc.waterloo.edu> Date: 24 Aug 89 04:06:18 GMT References: <20672@adm.BRL.MIL> Reply-To: sean@watcsc.UUCP (Sean Goggin) Organization: University of Waterloo Computer Science Club Lines: 17 In article <20672@adm.BRL.MIL> Leisner.Henr@xerox.com (Marty) writes: >I'm looking for a good, clean way to move files from upper case names to lower Easy use sh or /bin/sh and do the following for i in * >do >mv $i `echo $i | tr "[A-Z]" "[a-z]"` >done the wildcard on the top is of course the files. TEST this first, it should run on all things, but who knows, eh. Sean Goggin _______________________________________________________________________________ |o| HAL 9000 / SAG S Goggin BITNET - bvscistu@watdcs.bitnet _|_|__________________________________UUCP___-_...!watmath!watcsc!sean_________