Posted in Command Line, internet, Linux Fetch a URL With a Number Series Binny V A July 3, 2008 1 Comment on Fetch a URL With a Number Series Use this command to download numbered content… for ((i=1; i<9; i++)) ; do wget "http://www.example.com/$i.txt" ; done Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.
Also with curl :
curl “http://www.example.com/[1-8].txt”