List all mp3 and flac files recursively and save to text file
Posted: 01 Sep 2017 09:52
I need a batch file that will recursively list all the .mp3 and .flac files in the folder C:\Audio with the fullpath to a text file.
Eg. C:\Audio\Albums\AC DC\TNT\Tnt.mp3
C:\Audio\Singles\Cold Chisel - Bow River (live).mp3
C:\Audio\Albums\- Various Artists - 100% Hits Volume 13\11 - Collective Soul _ Shine.mp3
There are about 25,000 files. The files could named with any legal file name characters.
I would like the final result to be formatted as below:
{"Title": "Tnt.mp3","Fullpath": "c:/Audio/Albums/AC DC/TNT/Tnt.mp3"},
{"Title": "Cold Chisel - Bow River (live).mp3","Fullpath": "C:/Audio/Singles/Cold Chisel - Bow River (live).mp3"},
{"Title": "11 - Collective Soul _ Shine.mp3","Fullpath": "C:/Audio/Albums/- Various Artists - 100% Hits Volume 13/11 - Collective Soul _ Shine.mp3"},
I have done quite a lot of searching, but can't find anything that will do this.
There are various levels of directories.
I think I have covered everything.
Thank you for any help recieved.
Eg. C:\Audio\Albums\AC DC\TNT\Tnt.mp3
C:\Audio\Singles\Cold Chisel - Bow River (live).mp3
C:\Audio\Albums\- Various Artists - 100% Hits Volume 13\11 - Collective Soul _ Shine.mp3
There are about 25,000 files. The files could named with any legal file name characters.
I would like the final result to be formatted as below:
{"Title": "Tnt.mp3","Fullpath": "c:/Audio/Albums/AC DC/TNT/Tnt.mp3"},
{"Title": "Cold Chisel - Bow River (live).mp3","Fullpath": "C:/Audio/Singles/Cold Chisel - Bow River (live).mp3"},
{"Title": "11 - Collective Soul _ Shine.mp3","Fullpath": "C:/Audio/Albums/- Various Artists - 100% Hits Volume 13/11 - Collective Soul _ Shine.mp3"},
I have done quite a lot of searching, but can't find anything that will do this.
There are various levels of directories.
I think I have covered everything.
Thank you for any help recieved.