Skip to content

Instantly share code, notes, and snippets.

@squeuei
Created March 28, 2021 07:17
Show Gist options
  • Save squeuei/ef6ebf84254061a7b60ef31a28dcddf4 to your computer and use it in GitHub Desktop.
Save squeuei/ef6ebf84254061a7b60ef31a28dcddf4 to your computer and use it in GitHub Desktop.
Encoding all .wav files to .mp3 in one line for PowerShell

Encoding all .wav files to .mp3 in one line for PowerShell

foreach ($TargetName in (Get-ChildItem ./ -Name | Where-Object {$_ -match '.wav$'}) ) { lame -b 320 "$TargetName"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment