Skip to content

Instantly share code, notes, and snippets.

@sardaukar
Created April 10, 2017 21:38
Show Gist options
  • Save sardaukar/5a6aee3ef816be50901893cf5fcfbd98 to your computer and use it in GitHub Desktop.
Save sardaukar/5a6aee3ef816be50901893cf5fcfbd98 to your computer and use it in GitHub Desktop.
flac2mp3 (fish shell)
#!/usr/bin/fish
for file in *.flac
ffmpeg -i $file -ab 320k -map_metadata 0 -id3v2_version 3 (basename $file .flac).mp3
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment