getmp3
Posted: Tue Jul 07, 2015 12:11 pm
This is rather silly, but I've got an xterm open 24/7 that only serves one purpose....
opt1k@frey:~/Documents/music$ cat `which getmp3`
opt1k@frey:~/Documents/music$
opt1k@frey:~/Documents/music$ cat `which getmp3`
Code: Select all
#!/bin/bash
function main {
echo -n "CONVERT TO MP3 URL> "
read link
youtube-dl -x --audio-format mp3 --audio-quality 0 "$link"
main
}
main