From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out1.hurontel.on.ca ([216.46.129.246]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1AJfsT-0003g3-00 for ; Tue, 11 Nov 2003 16:16:45 -0500 Received: (from root@localhost) by smtp-out1.hurontel.on.ca (8.12.9/8.12.6) id hABMG8Zu029396 for ; Tue, 11 Nov 2003 17:16:08 -0500 Received: from [192.168.0.100] (hsiarip.hurontel.on.ca [216.46.141.114]) by smtp-out1.hurontel.on.ca (8.12.9/8.12.9) with ESMTP id hABMEuFV028973 for ; Tue, 11 Nov 2003 17:14:57 -0500 Date: Tue, 11 Nov 2003 16:17:12 -0500 (EST) From: Barry Pollock X-X-Sender: barryp@box To: "Speakup is a screen review system for Linux." In-Reply-To: <001201c3a877$1295af00$6901a8c0@ism.can.ibm.com> Message-ID: References: <00bd01c3a7e7$87307650$6901a8c0@ism.can.ibm.com> <20031111152057.GA13690@tomass.dyndns.org> <001201c3a877$1295af00$6901a8c0@ism.can.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Mixed Case Directory Names X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 21:16:45 -0000 rename is just a perl script that does not work recursively. I have some recursive perl code in some of my directory scripts I could write you one that would do the job. If you are doing it, you want unwanted characters such as `( ' or `&' removed or changed first? Spaces converted to `_' or what. If were doing it, we mayas well make it fully functional. Barry On Tue, 11 Nov 2003, Rejean Proulx wrote: > Can it do recursive renames? I need that as I have 7000 directories. > > Rejean Proulx > Visit my family at http://interfree.ca > MSN is: rejp@rogers.com > Ham License VA3REJ > > ----- Original Message ----- > From: "Thomas Stivers" > To: > Sent: Tuesday, November 11, 2003 10:20 AM > Subject: Re: Mixed Case Directory Names > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On 11/10/03 7:05 PM -0500, Rejean Proulx wrote: > > > Is there a way of changing a bunch of directories from mixed case to > lower > > > case names? > > > > On my debian system I have the rename program, but I remember if it was > > in its own package or not. I think it will do what you want fairly > > easily. You can try the following. > > > > rename 'tr/A-Z/a-z/' * > > > > That renames everything in a directory, but not recursively. I have > > found rename to ve invaluable when dealing with lots of files which need > > to conform to a naming convension. Good luck. > > > > - -- > > Unix is a user friendly operating system. It just picks its friends more > > carefully than others. > > Thomas Stivers e-mail: stivers_t@tomass.dyndns.org gpg: 45CBBABD > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.3 (GNU/Linux) > > > > iD8DBQE/sP5Z5JK61UXLur0RAgVfAJ9j8unxuA1Zim+BywJSgmTpH+O0AgCfdvQb > > w4C7BHNo/JVG1iWqHtpccRQ= > > =H5dY > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >