converting file using ffmpeg (ogg->mp3)

Windows/power-shell-basic

·

1 min read

  • outline

converting mp3 files to ogg files using Windows Powel Shell.

  • script
$files = Get-ChildItem -Path -Filter *.ogg -Recurse
foreach ($f in $files) {
""
$f.fullname
& "\ffmpeg.exe" -i "$($f.Fullname)" "$($f.Directory)$($f.baseName).mp3"
}