Hi there --
One of the directories on one of our servers, running Red Hat Enteprise 5, contains a series of files, similar in name, that contain a dash within the file name. Several examples are shown below:
Quote:
CTI.352-62--25.6989-22.6
CTI.352-62--25.6989-22.7
CTI.352-62--25.6989-22.8
|
I want to rename the files so they read as follows:
Quote:
CTI.3526225.6989-22.6
CTI.3526225.6989-22.7
CTI.3526225.6989-22.8
|
What command syntax, ie: for loop script, can I use to accomplish this?