Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd "<ENTER YOUR PATH TO THE FFMPEG FOLDER>"
- $oplist = gci -Path "<ENTER YOUR PATH TO THE FFMPEG FOLDER>*" -Include *.webm | Select name -ExpandProperty name
- $i = 0
- foreach ($op in $oplist){
- $opTitle = [IO.Path]::GetFileNameWithoutExtension($op)
- .\ffmpeg.exe -i .\$op .\$opTitle.mp3
- $i=$i+1
- Write-Progress -activity "Downloading MP3's. . ." -status "Scanned: $i of $($oplist.Count)" -percentComplete (($i / $oplist.Count) * 100)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement