比wget更块的工具mwget

mwget和curl/multicurl一样,m就是multi多线程的意思。mwget是wget的升级版,支持多线程下载。

1. 下载及安装

# git clone https://github.com/rayylee/mwget.git
# cd wget
# ./configure
# make && make install

或者直接下载编译好的发布版本:
https://github.com/rayylee/mwget/releases/tag/v0.2.0

2. 使用

# mwget [URL]          // 默认开4个线程
# mwget -n 10 [URL]    // 10个线程下载

3. 更多参数

# mwget -h
GNU Mwget 0.2.0, a non-interactive and multiline network retriever of all POSTIX Systems.
用法: mwget [选项]... [URL]...
选项:
  -b,  --debug          调试模式,显示调试信息
  -c,  --count=num      设置重试次数为[num],不限制次数设置为“0”,默认设置为“99”
  -d,  --directory=dir  设置本地目录为[dir],默认值为当前目录
  -f,  --file=file      重命名下载后文件为[file]
  -h,  --help           显示帮助信息
  -i,  --interval=num   设置FTP重试期限为[num]秒,默认为“5”
  -n,  --number=num     设置下载的线程数,默认开4个线程
  -r,  --referer=URL    使用“Referer: [URL]”在HTTP头中欺骗服务器
  -t,  --timeout=num    设置超时时间为[num]秒,默认设置是“30”
  -v,  --version        显示mwget的版本,然后退出
  -x,  --proxy=URL      设置代理 [URL]
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值