Skip to content

Instantly share code, notes, and snippets.

@laztname
Created April 12, 2023 07:29
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 laztname/0b6eced73a71f94a6124aff13a5a7c5c to your computer and use it in GitHub Desktop.
Save laztname/0b6eced73a71f94a6124aff13a5a7c5c to your computer and use it in GitHub Desktop.
find . -type f -iname "*.webm" -exec bash -c 'FILE="$1"; ffmpeg -i "${FILE}" -vn -ab 128k -ar 44100 -y "${FILE%.webm}.mp3";' _ '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment