Skip to content

Instantly share code, notes, and snippets.

@danwald
Created July 27, 2019 10:07
Show Gist options
  • Save danwald/f8390fe5a691b28290f9d3ecef6203bb to your computer and use it in GitHub Desktop.
Save danwald/f8390fe5a691b28290f9d3ecef6203bb to your computer and use it in GitHub Desktop.
flac to mp3
#!/bin/bash
for a in *.flac; do
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