I have close to 140 GB of music, all mp3’s. From time to time I get stuck with file names which make no sense. The title and tag info is there, but not the file name. Since this is windows, I can’t just run a perl / bash command. Instead I wrote about 400 lines of classy C++ to go through each file in a directory based on a search term and rename the files based on their ID3 tag:
int HowDoYouWantIt()
{
int selection;
lolwut:
cout << "How do you want your files named?\r\n" ;
cout << "1. <Artist> - <Title> (default)\r\n";
cout << "2. <Artist> - <Title> <Album>\r\n";
cout << "3. <Artist> - <Album> - <Year>\r\n";
cout << "4. <Album> - <Title>\r\n";
cout << "5. <Title> - <Year>\r\n";
cout << "6. <Title>\r\n";
cin >> selection;
This is proof that I’m not all hax. I code too.
See it here