From 6fc2530be61d49d73b1570352283ace720bda06f Mon Sep 17 00:00:00 2001 From: Matheus Albino Date: Thu, 20 Jun 2024 04:23:33 -0300 Subject: [PATCH] Changes gdl-update-todo.sh to download only new files --- scripts/shell/gdl-update-todo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shell/gdl-update-todo.sh b/scripts/shell/gdl-update-todo.sh index 94a215c..17a6fd1 100755 --- a/scripts/shell/gdl-update-todo.sh +++ b/scripts/shell/gdl-update-todo.sh @@ -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