Axel是一个命令行下载工具,支持多来源、多线程。
Axel是命令行下的多线程下载工具,支持断点续传,速度通常情况下是Wget的几倍。
Ubuntu/Debian中安装方法
sudo apt-get install axel
使用方法
假设已知多个来源,分别为url1,url2 等
axel [options] url1 [url2] [url...]
--max-speed=x
-s x
Specify maximum speed (bytes per second)最高速度x
--num-connections=x
-n x
Specify maximum number of connections连接数x
--output=f
-o f
Specify local output file下载为本地文件f
--search[=x]
-S [x]
Search for mirrors and download from x servers搜索镜像
--header=x
-H x
Add header string添加头文件字符串x
--user-agent=x
-U x
Set user agent
--no-proxy
-N
Just don’t use any proxy server不使用代理服务器
--quiet
-q
Leave stdout alone
--verbose
-v
More status information更多状态信息
--alternate
-a
Alternate progress indicator
--help
-h
帮助
--version
-V
版本信息
源代码安装方法
#tar zxvf axel-1.0a.tar.gz
#cd axel-1.0a/
#./configure
#make
#make install
基本的用法示例: #axel [选项] [下载目录] [下载地址]
一个典型下载如下:
#alex -n 10 -o /home/kennycx/ http://10.1.27.10/~kennycx/tools/lumaqq_2004-linux_gtk2_x86_with_jre.tar.gz
用10线程将指定路径的文件下载到/home/kennycx/这个目录下。