I have a bunch of files starting with "NCI_" How can I rename them to start with "NCIB_" instead of "NCI_" I have tried using the below command in my folder containing the files:
rename 's/NCI_/NCIB_/' *
But it didn't work. Can anybody please help?
You can use the rename command as shown below:
rename NCI_ NCIB_ *
Check the screenshot for sample output.