Rename mp3 file from it's id3 title?
by GPGAgent from LinuxQuestions.org on (#4TZJB)
There are many examples of updating the id3 title of an mp3 file from it's filename, I want to do the converse.
Namely I want a command that takes the id3 title and renames the actula file to the title.
The converse of this which takes the file name and updates the title:
Code:for i in *.mp3; do echo "${i}"; id3tool -t "${i::-4}" ${i}; done


Namely I want a command that takes the id3 title and renames the actula file to the title.
The converse of this which takes the file name and updates the title:
Code:for i in *.mp3; do echo "${i}"; id3tool -t "${i::-4}" ${i}; done