Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Unix filenames from capital to small letters
Hi Abiy,
There are dozens of ways of doing this, but here's one ...
ls | awk '/[A-Z]/ {print "mv", $0, tolower($0)}' | sh
@ Regards,
@ Steve Adams
@ http://www.ixora.com.au/
@ http://www.christianity.net.au/
@
@ Going to OpenWorld?
@ Catch the Ixora performance tuning seminar too!
@ See http://www.ixora.com.au/seminars/ for details.
-----Original Message-----
From: ALEMU Abiy [mailto:abiy.alemu_at_criltechnology.com]
Sent: Wednesday, 30 August 2000 23: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 !!!
-- 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:23:35 CDT