Created
July 13, 2016 06:06
-
-
Save shyamjos/40fdf6cf93bcea250d22483aad795daa to your computer and use it in GitHub Desktop.
Shell script to convert all .mkv video files in a directory to .mp3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -name "*.mkv" -exec bash -c 'FILE="$1"; ffmpeg -i "${FILE}" -vn -b:a 320000 -y "${FILE%.mkv}.mp3";' _ '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment