Re: Uppercase to lowercase

From: Hass, Harold (hhass@FRESNO.CA.GOV)
Date: Mon Dec 09 2002 - 13:56:32 EST


Jose,

This is a snip we use to extract specific files, here all files with 123
extension, and convert them to lowercase.

Works for us.

Harold Hass
Senior Network Systems Engineer
Information Technology Systems Dept.
County of Fresno
hhass@fresno.ca.gov

[MAKE THE .123 FILES LOWERCASE.]<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />

for i in `ls *123`

do

        x=`echo $i | awk '{printf ("%s", tolower ($0))}'`

        mv $i $x

done

-----Original Message-----
From: Cooper, Keith [mailto:kcooper@SELFREGIONAL.ORG]
Sent: Monday, December 09, 2002 10:16 AM
To: aix-l@Princeton.EDU
Subject: Re: Uppercase to lowercase

Have you tried this:

On the command that you do your put the 2nd argument is the name that

You want on the system you are transferring the file to.

Hence the following:

put 7026H50F.IMG 7026h50.img

Would take the upper case file on the DOS Box and place it on the AIX box in

Lower case.

Hope this helps!

Keith

Keith Cooper

Unix Administrator

Self Regional Healthcare
Greenwood, SC USA

IBM AIX System Admin 4.3/System User, A+, Linux+,

Network+, I-Net+ Certified, Compaq APS Certified - Notebooks &
Desktop/Workstations.

-----Original Message-----
From: Jose Tavara [mailto:jtavara@ESSALUD.SLD.PE]
Sent: Wednesday, April 24, 2002 11:20 AM
To: aix-l@Princeton.EDU
Subject: Uppercase to lowercase

hi,

I have a AIX 4.2.1, and i ftp file from DOS to my AIX. How can change the
uppercase to lowercase names of my files ?



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:24 EDT