diff options
-rwxr-xr-x | .scripts/curl_links.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.scripts/curl_links.sh b/.scripts/curl_links.sh new file mode 100755 index 0000000..655a7d4 --- /dev/null +++ b/.scripts/curl_links.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +output=1 +ext="gif" # without the dot +for i in $(cat $ext.txt); do + curl "{$i}" --output /zt/Docs/pics/$output$ext + # echo "{$i} /pics/$output.$ext" + ((output=$output+1)) +done |