aboutsummaryrefslogtreecommitdiff
path: root/.scripts/curl_links.sh
blob: 7ac3152943b7747ee207aba3e471b6e688d6c014 (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