yanxi

Centos 多线程下载工具-axel
Centos 多线程下载工具-axel axel是一个linux下的多线程下载工具,Freebsd也用过。 安装 ...
扫描右侧二维码阅读全文
10
2018/11

Centos 多线程下载工具-axel

Centos 多线程下载工具-axel

axel是一个linux下的多线程下载工具,Freebsd也用过。

安装

rpm -qa axel    #查询是否已经安装
yum search axel 
yum install axel

centos 7 yum search axel 在yum源中搜索不到axel工具了。

wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/26/Everything/x86_64/os/Packages/a/axel-2.5-3.fc26.x86_64.rpm
rpm -ivh axel-2.5-3.fc26.x86_64.rpm

参数

--max-speed=x   -s xSpecify maximum speed (bytes per second)
#最大的下载速度bytes/s(每秒字节)
--num-connections=x -n xSpecify maximum number of connections
#最大的连接数
--output=f  -o fSpecify local output file
#保存到指定的本地目录
--search[=x]-S [x]  Search for mirrors and download from x servers
--header=x  -H xAdd header string
--user-agent=x  -U xSet 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  This information
--version   -V  Version information

例如

axel -n 10 -o /tmp/ https://nodejs.org/dist/v4.2.6/node-v4.2.6.tar.gz
Last modification:February 12th, 2019 at 10:31 pm
If you think my article is useful to you, please feel free to appreciate

Comment here is closed