I have three files in a directory (in mac-osx terminal) say
INIT_Struc1 INIT_Struc2 INIT_Struc3
which I need to rename as
FINAL_Struc1 FINAL_Struc2 FINAL_Struc3
When I use the rename command (installed through homebrew) as
rename -n 's/\INIT_$/FINAL_/' INIT_*
it does not rename the files. What am I doing wrong with the rename command that fails to rename the files.