Changes gdl-update-todo.sh to download only new files

This commit is contained in:
Matheus Albino
2024-06-20 04:23:33 -03:00
parent b415ec004b
commit 6fc2530be6

View File

@@ -5,4 +5,4 @@ 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 $url; done
for url in ${urls[@]}; do gallery-dl --abort 1 $url; done