Last active
September 30, 2015 13:16
-
-
Save cbuck/371fb7d658c2bd89cb6b to your computer and use it in GitHub Desktop.
SORT AUDIO INTO CATS VIA CSV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::Will sort files into category structure from a CSV file structured as so: | |
::000cb3c6.wav,ROS,REAL LATE PART 3 11/29/14,,HOT/PRosenberg,11/30/14,04/16/42,0,0,2119288 | |
::FILENAME,CAT,TITLE,ARTIST,TRIVIA,STARTDATE,ENDDATE,CUEIN,INTRO,EOM | |
::SET THE DESTINATION PATH AND THE PATH TO THE CSV FILE | |
SET BASEDIR=D:\ | |
SET SORTCSV=%BASEDIR%\rename.csv | |
SET SRCEDIR=CONV | |
SET DESTDIR=RENM | |
:: | |
::008110105.WAV,DA,0000,BUT | |
::aaaaaaaaaaaaa,bb,cccc,ddd | |
:: | |
:: END VARIABLES | |
FOR /F "eol=; tokens=1,2,3,4* delims=," %%a in (%SORTCSV%) do COPY %BASEDIR%\%SRCEDIR%\%%d\SP%%c.WAV %BASEDIR%\%DESTDIR%\%%d\%%a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment