9 lines
234 B
Bash
Executable File
9 lines
234 B
Bash
Executable File
#!/bin/bash
|
|
|
|
gallery_dl_path=/mnt/e/home/Documents/data-hoarding
|
|
cd "$gallery_dl_path"
|
|
|
|
urls=($(grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" -i "$gallery_dl_path/todo.md"))
|
|
|
|
for url in ${urls[@]}; do gallery-dl --abort 1 $url; done
|