aboutsummaryrefslogtreecommitdiff
path: root/.scripts/curl_links.sh
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-04-12 21:34:30 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-04-12 21:34:30 +0530
commit19b77d0b11b3a4b7688f0c0009e29528432e5667 (patch)
treed47f90f117ed9be484e96940f7940d1ccb12b79e /.scripts/curl_links.sh
parenta9a5f3284893155c8d2e406366d00e24ec91032c (diff)
fixed file extention error
Diffstat (limited to '.scripts/curl_links.sh')
-rwxr-xr-x.scripts/curl_links.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/curl_links.sh b/.scripts/curl_links.sh
index 655a7d4..7ac3152 100755
--- a/.scripts/curl_links.sh
+++ b/.scripts/curl_links.sh
@@ -3,7 +3,7 @@
output=1
ext="gif" # without the dot
for i in $(cat $ext.txt); do
- curl "{$i}" --output /zt/Docs/pics/$output$ext
+ curl "{$i}" --output /zt/Docs/pics/$output.$ext
# echo "{$i} /pics/$output.$ext"
((output=$output+1))
done