Skip to content

Instantly share code, notes, and snippets.

@AElouai
Created September 25, 2017 22:11
Show Gist options
  • Save AElouai/9b8c85c9752a03e224220e37998c45b5 to your computer and use it in GitHub Desktop.
Save AElouai/9b8c85c9752a03e224220e37998c45b5 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Demarage script
cd /media/obito/holder/pluralsight
read name
mkdir "$name"
cd "$name"
read text
youtube-dl -r 600k --username XXXX --password 'XXXXX' $text -o "%(playlist_index)s. %(title)s.%(ext)s"
#!/bin/bash
# Demarage script
# Demarage script
# path where to put the MPS files
cd /media/obito/x/3
while true; do
read text
youtube-dl -f bestaudio --audio-quality 0 --audio-format mp3 -i -x --extract-audio $text
done
#!/bin/bash
# Demarage script
while true; do
cd /media/obito/x/4
read text
youtube-dl -f mp4 $text
#youtube-dl -f mp4 $text
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment