youtube-dl download script
#!/bin/bashset +x while : do echo -e "\nChecking for youtube-dl updates\n" ./youtube-dl -U echo -e "\nRunning...\n" echo -e "Outputting errors to errors.txt\n" ./youtube-dl --config-location ./youtube-dl.conf `cat ./queue.txt` `grep -v "#" channels.txt` > errors.txt 2>&1 echo -e "\nClearing Queue file..." echo " " > queue.txt echo -e "\nWaiting 1 hour before continuing" sleep 3600done
Comments