add youtube download functions

This commit is contained in:
Ray Elliott 2020-03-30 13:05:59 +01:00
parent 5d70ca6676
commit 94212a12b3
1 changed files with 10 additions and 0 deletions

View File

@ -68,3 +68,13 @@ smartresize() {
mc() {
mkdir "$1" && cd "$1"
}
# TODO testing
ytdl-ct() {
ssh "youtube-dl@192.168.0.118 'screen -m -d ./download.sh $1'"
}
# TODO testing
ytdl-ct-audio() {
ssh "youtube-dl@192.168.0.118 'screen -m -d ./download.sh --config-location ~/.config/youtube-dl/config-audio-only $1'"
}