aboutsummaryrefslogtreecommitdiff
path: root/.scripts/curl_links.sh
blob: 143c3c585a122134317b93d01d57ee6861092aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh


# ext="gif" # without the dot
echo "enter extention without the period"
read ext
output=1
for i in $(cat $ext.txt); do
	curl "{$i}" --output /zt/Docs/pics/$output.$ext
	# echo "{$i} /pics/$output.$ext"
	((output=$output+1))
done