Well, in case I forget how to write csh script...
This is about writting while loop in csh, can be used to do anything good or something bad....
#!/bin/csh
set j = 101
while ( $j > 1 )
@ j--
set number=`echo $j | awk '{printf("%3d",$1)}'`
wget http://www.foo.bar/path/file$number.jpg
sleep 1
end
However, /usr/bin/curl can do it more easily, although it doesn't support time delay.
curl -O http://www.foo.bar/path/file[001-100].jpgBy mjhsieh at December 8, 2002 03:35 AM | Monthly Archives
http://apple.sysbio.info/~mjhsieh/blog/mt-tb.cgi/17