aboutsummaryrefslogtreecommitdiff
path: root/.scripts/curl_links.sh
blob: 655a7d4aedbfc0e853b73b5d3c3a77757b2927c9 (plain)
1
2
3
4
5
6
7
8
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