Add this to your .bash_profile
file.
alias mp3-dl='function _(){ youtube-dl --extract-audio --audio-format mp3 --output "~/Music/%(title)s.%(ext)s" $1; };_'
On the terminal, type:
$ mp3-dl [YOUTUBE-URL]
Voila!
Add this to your .bash_profile
file.
alias mp3-dl='function _(){ youtube-dl --extract-audio --audio-format mp3 --output "~/Music/%(title)s.%(ext)s" $1; };_'
On the terminal, type:
$ mp3-dl [YOUTUBE-URL]
Voila!