Skip to content

Instantly share code, notes, and snippets.

@finloop
Created May 4, 2021 11:36
Show Gist options
  • Save finloop/da7d55f3550b67391e78811110bba52a to your computer and use it in GitHub Desktop.
Save finloop/da7d55f3550b67391e78811110bba52a to your computer and use it in GitHub Desktop.
Convert all .mkv files in directory (recursive) to .mp3
#!/bin/bash
# Convert all .mkv files in directory (recursive) to .mp3
find . -type f -name "*.mkv" -print0 | parallel -0 ffmpeg -i {} -vn -c:a libmp3lame -y {.}.mp3;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment