[ale] script or app to set all files to lower case

James Taylor James.Taylor at eastcobbgroup.com
Tue Aug 28 08:22:28 EDT 2007


Thanks to all on this.
-jt



James Taylor
The East Cobb Group, Inc.
678-697-9420
james.taylor at eastcobbgroup.com
http://www.eastcobbgroup.com












>>> On Tue, Aug 28, 2007 at  8:14 AM, in message
<1188303276.16197.6.camel at kalexander.SRBA-NET.SUNRISETELECOM.COM>, Ken
Alexander <kenry at alexandertech.biz> wrote: 
> I think this should work. 
> 
> #!/usr/bin/perl
> 
> use File::Find;
> sub wanted {
>           /[A-Z]/ &&
>            print $_  . " - ". lc($_) . "\n";
>           rename($_, lc($_));
> }
> finddepth(\&wanted, '/rootDirectory/path' );
> 
> 
> On Mon, 2007-08-27 at 20:13 -0400, James Taylor wrote:
> 
>> I need to convert a volume with several hundred thousand files with mixed 
> case file names to all lower case.
>> 
>> Any suggestions for a quick, fast and easy utility to accomplish this?
>>  -jt
>> 
>> 
>> 
>> James Taylor
>> The East Cobb Group, Inc.
>> 678-697-9420
>> james.taylor at eastcobbgroup.com
>> http://www.eastcobbgroup.com
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list