Batch Downloading

Today, Brawijaya's connection does still suck (due to migration from Mikrotik routers to Cisco ones) and it dropped my download from Ibiblio. (I am currently downloading Zenwalk's snapshot kernel source to do an upgrade)

Better than just free-tarding, I download a photo album of a BeautyLeg model from ChinaGirl (they are so delicate that they're unsuprisingly named after 'china' :D )

There are around 67 photos in an album. So here my first script:
for ((a=0; a<7; a++))
do
for ((b=0; b<10; b++))
do
wget -c http://0374.cc/beauty/chinese%20beauty/Beautyleg_206_Sara/0$a$b.jpg
done
done

It works well like charm, though there's stupidity there.

Another idea came accross my head afterward:
for (a in `seq -w 001 067`)
do
wget -c http://0374.cc/beauty/chinese%20beauty/Beautyleg_206_Sara/$a.jpg
done

which is much neatly done.

--thanks to guys on linux.byexamples

0 rants: