2022-01-09 11:56:45 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
|
|
|
INPUTFILE="$DIR/all.txt"
|
2022-01-11 10:08:14 +00:00
|
|
|
DESTDIR="/Volumes/movies/_MUSIC_VIDEOS/jwztv-youtube-scrape"
|
2022-01-09 11:56:45 +00:00
|
|
|
|
|
|
|
while IFS= read -r SEARCHTERM; do
|
|
|
|
cd $DESTDIR
|
|
|
|
yt-dlp "ytsearch:$SEARCHTERM"
|
|
|
|
done < "$INPUTFILE"
|