Skip to content

Instantly share code, notes, and snippets.

@patillacode
Created October 17, 2018 00:32
Show Gist options
  • Save patillacode/5c94ba2b984f4833072292cbc360d8ae to your computer and use it in GitHub Desktop.
Save patillacode/5c94ba2b984f4833072292cbc360d8ae to your computer and use it in GitHub Desktop.
Small script convert wav to mp3
#!/bin/bash
for i in *.wav; do
ffmpeg -i "$i" -vn -ar 44100 -ac 2 -ab 320k -f mp3 "${i%%.*}.mp3"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment