diff options
Diffstat (limited to '.scripts')
-rwxr-xr-x | .scripts/curl_links.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.scripts/curl_links.sh b/.scripts/curl_links.sh index 7ac3152..143c3c5 100755 --- a/.scripts/curl_links.sh +++ b/.scripts/curl_links.sh @@ -1,7 +1,10 @@ #!/bin/sh + +# ext="gif" # without the dot +echo "enter extention without the period" +read ext 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" |