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: <ddorr.cs_at_clearstream.com>
Date: Wed, 30 Aug 2000 15:41:04 +0200
Message-Id: <10604.115858@fatcity.com>


assuming you are in the right directory & there are only files in it, this will work :

for file in $(ls) ; do typeset -l lfile=$file ; mv $file $lfile ; done

> ----------
> From: ALEMU Abiy[SMTP:abiy.alemu_at_criltechnology.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Wednesday, August 30, 2000 15:50
> 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:41:04 CDT

Original text of this message

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