Skip to content

Instantly share code, notes, and snippets.

@romdim
Created February 4, 2021 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romdim/d2e849171b6c07a09803d27da37dde42 to your computer and use it in GitHub Desktop.
Save romdim/d2e849171b6c07a09803d27da37dde42 to your computer and use it in GitHub Desktop.
Convert audio files from opus/m4a to mp3
for i in *.opus; do ffmpeg -i "$i" "${i%.*}.mp3"; done
for i in *.m4a; do ffmpeg -i "$i" "${i%.*}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment