[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] script or app to set all files to lower case
- Subject: [ale] script or app to set all files to lower case
- From: jkinney at localnetsolutions.com (James P. Kinney III)
- Date: Mon, 27 Aug 2007 20:34:38 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
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
>
>
for i in `ls -1`
do
cat $i | tr [:upper:][:lower:] > $i.lower
mv $i /tmp/$i
mv $i.lower $i
done
>
> 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
>
--
James P. Kinney III
CEO & Director of Engineering
Local Net Solutions,LLC
770-493-8244
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part