This should do it for you. Call it with the root directory of the directories/files whos' names you want to change. For example, if you called it "renamer", and your files were in "/var/www/files/otherfiles", you would do: ./renamer /var/www/files/otherfiles The script follows: #!/bin/sh cd $1 || echo "No such directory." && exit 1; tf=/tmp/renamer.$$; rm -f $tf; ls *[A-Z]* | awk '{print "mv", $1, tolower($1)}' > $tf; source $tf; rm -f $tf; exit 0; On Mon, 10 Nov 2003, Rejean Proulx wrote: > We need a script in the worst way. We have 7,000 of them to do. > > Rejean Proulx > Visit my family at http://interfree.ca > MSN is: rejp at rogers.com > Ham License VA3REJ > > ----- Original Message ----- > From: "Luke Davis" <ldavis at shellworld.net> > To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca> > Sent: Monday, November 10, 2003 7:30 PM > Subject: Re: Mixed Case Directory Names > > > > Do you want a script to do them all at once, or can you do it manually? > > > > If manyally, just do: > > > > mv DiReCtoRY directory > > > > On Mon, 10 Nov 2003, Rejean Proulx wrote: > > > > > Is there a way of changing a bunch of directories from mixed case to > lower > > > case names? > > > > > > Rejean Proulx > > > Visit my family at http://interfree.ca > > > MSN is: rejp at rogers.com > > > Ham License VA3REJ > > > > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup at braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup at braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >