Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
#
Return to CLI Magic: the word on wget
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
shame on me
Posted by: Anonymous Coward on September 18, 2005 06:39 PMI have been using the 'while' syntax in bash for about 10 years. Better late than never<nobr> <wbr></nobr>:-)
for ((i=1;i<1000;i++)) ; do
N=`printf %03d $i`
wget <a href="http://www.dummy.net/img/pict$N.jpg" title="dummy.net">http://www.dummy.net/img/pict$N.jpg</a dummy.net>
done
#