Skip to content

linux下批量下载文件脚本

#!/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

应该能看懂吧!

linux(1)bash 批量下载(1)linux mp3 批量下载(1)linux 批量下载(9)linux 批量下载文件(3)php批量下载文件(1)php 批量下载(2)php批量下载(3)Linux 下载文件(1)linux下载批量文件(1)linux mp3批量下载(1)linux 脚本 批量下载文件(1)Linux批量下载(2)php 批量文件(1)linux mp3批量下载脚本(1)

Share in Google Reader Share in Google Reader 分享到 FriendFeed 分享到 FriendFeed 推荐到豆瓣 推荐到豆瓣 分享到 Twitter 分享到 Twitter

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*