Script to Rename Many Files
I have inherited a massive collection of mp3s from a friend.
Unfortunately it's very disorganized and they're all in one directory.
I'm wondering if there is some sort of shell scripting solution that can solve my file name woes.
Imagine that there were a band named "Linux Questions" and I have a bunch of their mp3s mixed into a directory with thousands of other mp3s.
Unfortunately the file names vary from containing "LINUX QUESTIONS", "linuxquestions", "Linux-Questions", "linux_questions", etc...
I would like to write a script that would find all of these file names, and rename them so they all use the consistent variant of "Linux Questions - SongName".
Hopefully this is clear.
Can anyone point me in the right direction to do this?