I have a bunch of files in a directory (windows) that I wish to rename so that a certain character sequence is removed from each. For example, I wish to remove the "-FFF" from filenames which are similar to below.
asd-dfj-FFF.mp3
dfd-sdj-FFF.mp3
What is the best way to do this? Any language is fine. I know C & Java so I'd prefer if it was in a language that wasn't them so I get to learn/see another language in action.