Skip to content

Instantly share code, notes, and snippets.

@pstaender
Created October 3, 2015 09:28
Show Gist options
  • Save pstaender/2e9b417470fc6574703c to your computer and use it in GitHub Desktop.
Save pstaender/2e9b417470fc6574703c to your computer and use it in GitHub Desktop.
Convert flac to mp3 with ffmpeg
#!/bin/sh
for a in *.flac; do
echo ffmpeg -i "$a" -qscale:a 0 "${a[@]/%flac/mp3}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment