Last active
November 18, 2021 02:00
-
-
Save sim2kid/007702839e24b69a49bedc7ded333002 to your computer and use it in GitHub Desktop.
Converts all wav files in a directory (and sub directory) to MP3 files. This is a destructive process. (Requires FFMPEG)
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
@echo off | |
call :treeProcess | |
goto :eof | |
:treeProcess | |
for %%F in (*.wav) DO ( | |
ffmpeg -i "%%F" "%%~nF.mp3" | |
DEL %%F | |
) | |
for /D %%d in (*) do ( | |
cd %%d | |
call :treeProcess | |
cd .. | |
) | |
exit /b | |
timeout 60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment