Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Unix filenames from capital to small letters

RE: Unix filenames from capital to small letters

From: Mecci, Shaheer (MBS) <Shaheer.Mecci_at_mortgagefamily.com>
Date: Wed, 30 Aug 2000 09:20:02 -0400
Message-Id: <10604.115847@fatcity.com>


sorry abiy
too much coffee today, I guess.
If you actually need to change the file names

	for filename in `ls -ltr | awk '{print $9}'`; do
		upperfilename=`echo $filename | tr [A-Z] [a-z]`
		mv ${filename}   ${upperfilename}
	done

Shaheer.

-----Original Message-----

From: Mecci, Shaheer (MBS)
Sent: Wednesday, August 30, 2000 9:13 AM To: 'ORACLE-L_at_fatcity.com'
Subject: RE: Unix filenames from capital to small letters

try

        cat <filename> | tr [A-Z] [a-z] > <newfilename>

HTH
Shaheer Mecci

-----Original Message-----

From: ALEMU Abiy [mailto:abiy.alemu_at_criltechnology.com] Sent: Wednesday, August 30, 2000 9:50 AM To: Multiple recipients of list ORACLE-L Subject: Unix filenames from capital to small letters

It might be certainly an outof subject area question but I don't know where to raise this question. It's great if someone can help me. My problem is that I have a lot of files in a directory whose names are all in capital letters and I would like to change them all in small letters. Is there any one line UNIX command to do this ? Please help !!!  




@biy @lemu
abiy.alemu_at_criltelecom.com <mailto:abiy.alemu_at_criltelecom.com> Cril Telecom Software
France  
-- 
Author: ALEMU Abiy
  INET: abiy.alemu_at_criltechnology.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Received on Wed Aug 30 2000 - 08:20:02 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US