On Mon, 06 Mar 2000, you wrote:
>
> Is there a way to rename files under linux from upper case to lower case all
> at once? I need to rename about 300+ files from upper to lower and don't
> want to do it manually everytime.
> Thanks!
>
Not directly, but there are as about as many scripts to do it as there are
script writers
try this
#!/usr/bin/python
#
# python script to rename files to lower case
#
import string
import sys,os
file_names=sys.argv
nfiles=0
for file in file_names:
if nfiles > 0:
new_file=string.lower(file)
print "Renaming ",file, new_file
x=os.system("mv "+file+" "+new_file)
nfiles=nfiles+1
--
Alex
(Go easy on me, I'm a COBOL programmer in real life)