Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@anorak.coverform.lan (Brian Somers) Newsgroups: comp.infosystems.www.servers.unix,comp.unix.bsd.freebsd.misc,comp.unix.programmer,comp.unix.questions Subject: Re: Help Need a UTIL for Case Sensitive Files. Date: 19 Nov 1996 19:05:39 -0000 Organization: Coverform Ltd. Lines: 14 Sender: brian@awfulhak.demon.co.uk Message-ID: <56t0e3$ni@anorak.coverform.lan> References: <01bbd5d3$54b9d060$86629dcc@big-one> Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk NNTP-Posting-Host: localhost.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.infosystems.www.servers.unix:22121 comp.unix.bsd.freebsd.misc:31270 comp.unix.programmer:46572 comp.unix.questions:91582 In article <01bbd5d3$54b9d060$86629dcc@big-one>, "Erotic Delirium" <kelly@eroticd.com> writes: : does anyone have a utility that will go through and change filenames & : directories from uppercase to lower case. I need to change everything in a : certian directory including subdirs to lowercase and its about 9000 files. : (no joke) find certain_directory -depth | while read file; do name=$(echo $file | tr '[A-Z]' '[a-z]'); test $name != $file && mv $file $name; done -- Brian <brian%anorak.coverform.lan@awfulhak.demon.co.uk> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour.... .