Last active
September 30, 2016 10:06
-
-
Save heshed/d927371e4e72079273f475b978916201 to your computer and use it in GitHub Desktop.
youtube-to-mp3.sh
This file contains hidden or 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
# install | |
# brew install ffmpeg | |
# https://you-get.org/#installation | |
you-get youtube-url | |
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
ref