linux下批量下载文件脚本

Posted Jun 23rd, 2008 by askie

#!/usr/bin/bash
begin=100000
end=1044298

i=$begin
while [ $i -lt $end ];
do
wget -t 3 -w 0 -T 30 -c -N “http://www.baidu.com/$i”
i=`expr $i + 1`
done

应该能看懂吧!

相关文章:

中文关键字:wget 文件 脚本 linux begin end 1044298 100000 baidu while bash done http expr usr bin com www 30 do
Trackback URI | Comments RSS

Leave a Reply