changing the file-name in a directory for all files matching a particular criteria

view story

http://www.unix.com – i have a directory which consist of multiple files out of which there are some files that has -e in their name. I want to write a script that will change all those file-name to -l example there are some files with name : Code: file1-e.wav file2-e.wav file3-english-e.wav file-4-e.wav expected output Code: file1-l.wav file2-l.wav file3-english-l.wav file-4-l.wav (HowTos)