scripts

Scripts for general automations
git clone git://git.laack.co/scripts.git
Log | Files | Refs

big-downloader.sh (177B)


      1 #!/bin/bash
      2 
      3 URL_FILE="$HOME/bin/resources/urls"
      4 
      5 while true; do
      6     cd /dev/shm || exit 1
      7 
      8     url=$(shuf -n 1 "$URL_FILE")
      9     yt-dlp "$url" -o "$1.mp4"
     10     rm -rf "$1"*
     11 done