Re: how transfer uppercase .txt file into lowercase txt file

From: David (thunderbolt01_at_netscape.net)
Date: 11/20/03


Date: Thu, 20 Nov 2003 22:14:15 GMT

PHP2 wrote:
> how transfer uppercase .txt file into lowercase txt file in Linux without
> creation additional program?

You can do it with a single command like this if you want all
files to be in lower case.

for f in * ; do mv $f $( echo $f | tr a-z A-Z )
   ; done

-- 
Confucius:  He who play in root, eventually kill tree.
Registered with The Linux Counter.  http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
Uptime: 15:21, 2 users, load average: 1.04, 1.13, 1.12


Relevant Pages

  • how transfer uppercase .txt file into lowercase txt file
    ... how transfer uppercase .txt file into lowercase txt file in Linux without ... creation additional program? ...
    (comp.os.linux)
  • Re: Retain Creation Date
    ... > Does anyone know of a way to get a remote file and retain the file ... > creation date and time? ... FWIW, Linux, like it's Unix cousins and it's POSIX parents does /not/ support ... - the last modification date/time, ...
    (alt.os.linux)
  • Re: Image file naming strategy.
    ... don't worry about long file names, nowadays they work just fine in WIN and linux and pretty much anywhere on the web. ... The main thing is, distribute your pix in many directories - never put more than a few dozen pix in one folder, otherwise the performance may suffer badly. ... If you ever need to view your manipulated pix in the order of creation, you better put the creation date and time into the file name. ...
    (alt.graphics.photoshop)
  • Re: [SLE] cron not recognizing changes to /etc/cron.d files [SOLVED]
    ... Pardon the interruption, but I had been led to believe that a creation date ... Linux 2.6.11.4-21.11-default x86_64 ...
    (SuSE)
  • Re: zend+pdo+db2
    ... MySQL on Linux instead of Windows, you'll find the table names are case sensitive there, also. ... create tables lowercase. ...
    (comp.lang.php)