您的位置:首页 > 运维架构 > Shell

自动下载shell脚本

2010-04-21 13:17 417 查看
#/bin/sh

i=0

chapter=$1

book_name=$2

while [ $i != $3 ]

do

echo "第 $i 正在下载第 $book_name 个文件..."

wget http://www.qqshuwu.com/files/article/attachment/5/5759/$chapter/$book_name.gif

i=`expr $i + 1`

book_name=`expr $book_name + 1`

chapter=`expr $chapter + 1`

done
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: