I have several hard drives with my music on them. What I would like to do is create a playlist for each directory. Since the .m3u playlist format is very simple, and essentially just a directory path and file name for each song, I was thinking that there was probably some DOS script or something to automate this process (and since I have thousands and thousands of shows in thousands of sub-directories, I would very much like to streamline this.
for reference, in the root of each drive, I've got folders for "Phish", "Phish-Side-Projects", and "Other". and then within each of those folders, each show has its own folder.
so it looks like this:
e:\Phish\ph1992-12-02.35368.flac16
e:\Phish\ph1992-12-04.25827.flac16
e:\Phish\ph1992-12-30.86296.flac16
e:\Phish\ph1992-12-31.500.shnf
e:\Phish\ph1993-02-03.27194.flac16
e:\Phish\ph1993-02-04.20850.shnf
e:\Phish\ph1993-02-04.87504.flac16
...
e:\other\clubdelf2009-11-20.ck930.flac16
e:\other\clubdelf2009-11-20.ck930.flac24
e:\other\david-grisman2009-08-28.flac16
e:\other\dead2009-03-30.98218.flac16
e:\other\dead2009-05-09.akg460.flac16
e:\other\dead2009-05-11.kfog.flac16
e:\other\gd1971-02-18.85478.flac16
e:\other\gd1972-03-23.100000.flac16
e:\other\gd1973-05-13.100239.flac16
...
I've been looking around on the web, and if I run this guy:
dir *.flac /S /B /L > all-flac.txt
I get a list of all the FLAC files in every sub-directory on the whole drive saved into one text file (named "all-flac.txt").
what I want is for the files in each sub-directory to be saved into a separate text file for each sub-directory. and ideally, the name of each text file would have the same name as the show folder. so I'd end up with something like this:
ph1992-12-02.35368.flac16.txt
ph1992-12-04.25827.flac16.txt
ph1992-12-30.86296.flac16.txt
ph1992-12-31.500.shnf.txt
ph1993-02-03.27194.flac16.txt
ph1993-02-04.20850.shnf.txt
ph1993-02-04.87504.flac16.txt
and each text file would have the full path and file name for each FLAC file in the directory. (I'd have to run through it all again as well, looking for SHN files).
so, does anyone have any ideas? I was never that savvy with DOS, but I figure that there has to be an easy way for me to do this, right?
thanks in advance.