Skip to content

Instantly share code, notes, and snippets.

@gowon
Last active June 28, 2020 19:32
Show Gist options
  • Save gowon/9270b84088bce44625dd98a45cd37450 to your computer and use it in GitHub Desktop.
Save gowon/9270b84088bce44625dd98a45cd37450 to your computer and use it in GitHub Desktop.
Bulk Audio Conversion using ffmpeg
Get-ChildItem *.flac | ForEach-Object { Invoke-Expression -Command "ffmpeg -i `"$($_.FullName)`" -codec:a libmp3lame -qscale:a 0 `"$($_.Name.Substring(0,$_.Name.Length - $_.Extension.Length)).mp3`"" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment