Friday 13 December 2019

How to bulk rename audio files so that the file name matches the title metadata (preferably using Foobar2000)?


I have some audio files for which I used Foobar2000 to get the proper tags (Title, Artist, Album, etc), so now they have their proper titles when loaded in Foobar and other players, but they still do not have the proper names as seen in Windows file manager under 'Names' column.


enter image description here


enter image description here


How to mass-change the names so that they match the titles? - And can I do that in Foobar2000?


(I know I can change them one by one in Foobar, copying from the file's Metadata to its Properties


enter image description here


enter image description here


but I do not want to do it one by one.)




UPDATE after getting a comment indicating this answer for using Foobar2000.


The idea is to load files in Foobar, go to the files' Properties, Tools, Automatically fill values...


When I select %title% for source and %filename% under Pattern the preview looks fine, that is what I want to put for the file name


enter image description here


but when I press OK and Apply, the changes are not recorded in the expected place (File name column in Foobar and Name column in Windows).


This is probably because %filename% in this tool stands for a different thing than what I want to change here: for a metadata entry, which this tool can change (see below), and not for the entry under Properties tab (seen in one of my posted images above) which I try to change.


But this is odd, because the preview changes seem to show that when %filename% is put under 'Pattern', the change will be the one intended. What happens when the changes are applied is that a new column is created under Metadata tab, which matches the Track Title (while the File Name entry under the Properties tab remains unchanged).


enter image description here


But the odd thing is that if I go back to make new changes and put %filename% under Source, what the preview shows is not the newly created entry called FILENAME that matches the Title, but the File Name that I wanted to change in the first place.


enter image description here


Trying to edit that by putting a different source and %filename% under Pattern will just overwrite the new FILENAME column (under Metadata tab), while the File Name under Properties tab will not be changed.



Answer



Foobar2000 has a special renaming tool designed specially for this kind of thing. I'm pretty sure it's installed by default.


Please follow these steps:



  • Select the relevent album(s) (if using the library view) or the individual files (if using the playlist view)

  • Right-click and choose File operations -> Rename to... Rename menu

  • For file name pattern, enter %title% (or use the ... button to select this) Rename dialog

  • Click Run

  • Foobar2000 will do the renaming and show you the result


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...