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.

regards

Abid

Hello,

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)?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.