Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM create new directory for storing WAVs
- for %%I in (.) do set CurrDirName=%%~nxI
- REM create FLACs from WAVs
- for %%I in (.) do mkdir "WAV - %CurrDirName%"
- FOR /F "tokens=*" %%G IN ('dir /b *.wav') DO (
- ffmpeg -i "%%G" -metadata album="%CurrDirName%" "%%~nG.flac" -y >> ffmpeg.txt 2>&1
- move "%%G" "WAV - %CurrDirName%"
- )
- REM move directory full of WAVs
- move "WAV - %CurrDirName%" ..\
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement