Re: script that change all file names

From: Paul LaMadeleine (plamadeleine@LIGHTBRIDGE.COM)
Date: Fri Nov 01 2002 - 11:06:35 EST


This is a quick and dirty way to only do files in a directory.

cd /path/to/files
for file in *
do
   if [ ! -f $file ]
   then
     continue
   fi
   echo mv $file `echo $file | tr -s '[:upper:]' '[:lower:]'
done

At 09:52 AM 11/1/2002 -0600, you wrote:
>hello,
>
>Is there anybody out there that has a script to change all files from
>lowercase to uppercase?. Please let me know
>
>thanks
>



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