Possible Duplicate:
Batch rename files in Linux
I have a list of 1000 files in a directory in my linux system like this:
01-Star_Network.en.srt
02-Subsets.en.srt
03-Function_Comparision.en.srt
I want .en eliminated from all files, and rename them to:
01-Star_Network.srt
02-Subsets.srt
03-Function_Comparision.srt
Is there any bash, python, java or PHP script to do this?