Hi all

Please help me in this problem:

Suppose i have hundreds of files in one directory with different extenshions, I want to rename all filenames.

filename required filename

XYZbla.java with ABCbla.java
Xyzbla.java with Abcbla.java
xyzbla.htm with abcbla.htm

please tell me about shell script for this.




Can you provide a little more information on the renaming. Does XYZ translate exactally to ABC and do all the files you want renamed start XYZ (or Xyz or xyz or XYz) and should be renamed ABC (or Abc or abc or ABc respectively)?