Favorite aliases?
by raid87654345 - September 22, 2017 at 01:12 PM
#1
Mine is:

# Youtube Downloader
function y2mp3(){
    youtube-dl -x -i -o "%(title)s.%(ext)s" --audio-format mp3 --audio-quality 9 --add-metadata --metadata-from-title "%(artist)s - %(title)s" $*
}

for downloading music from youtube Smile

Whats your favorite?
Reply
#2
transfer() { if [ $# -eq 0 ]; then echo -e "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md"; return 1; fi
tmpfile=$( mktemp -t transferXXX ); if tty -s; then basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile; else curl --progress-bar --upload-file "-" "https://transfer.sh/$1" >> $tmpfile ; fi; cat $tmpfile; rm -f $tmpfile; }
Reply
#3
This one is perfect: https://github.com/nvbn/thefuck
Reply
#4
I don't understand people ripping music from youtube. sound quality is bad most of the time and there's easier way to pir8 music ;0)
Reply
#5
(March 07, 2019 at 10:16 PM)r0cker Wrote: I don't understand people ripping music from youtube. sound quality is bad most of the time and there's easier way to pir8 music ;0)

Very true. I aim for 320k for all my music. Most of the stuff ripped online like this ends up 128k.
Reply

 Users browsing this thread: 1 Guest(s)