I have 800 file with naming as:Centrum.text.201601-01Centrum.text.201601-02 till 30 for a month 01 and so on for all the 12 months .I want is to rename all the files in a single go as:Centrum.201601-01.textCentrum.201602-12.textand so on for the corresponding months.A one-liner if possible.Os -- rhel5
Rename all files
shell script;rhel;rename