http://aria2.sourceforge.net/
rpm -ivh http://pkgs.repoforge.org/nettle/nettle-2.2-1.el6.rf.x86_64.rpm
rpm -ivh http://pkgs.repoforge.org/nettle/nettle-devel-2.2-1.el6.rf.x86_64.rpm
rpm -ivh http://pkgs.repoforge.org/aria2/aria2-1.16.4-1.el6.rf.x86_64.rpm
aria2c
-o a.txt
-d ./download
-l ./aria2c.log
--no-conf -s 32 -j 100 -x 16 -k 1M
--timeout=600 --max-tries=5 --stop=1800
--allow-overwrite=true --enable-http-keep-alive=true --log-level=warn
download_url
aria2c参数说明:
aria2c –help=#all
-c, --continue[=true|false] | 断点续传 |
-o, --out=FILE | Outfile ,When -Z option is used, this option is ignored. |
-d, --dir=DIR | 保存文件路径,绝对路径 |
-l, --log=LOG | 日志文件 |
-s, --split=N | 并发下载数 The number of connections to the same host is restricted by --max-connection-per-server option. See also --min-split-size option. |
-j, --max-concurrent-downloads=N | 一个URL的最大并发下载数 |
-k, --min-split-size | 每个split最小size,源文件按这个拆分成多个 |
-x, --max-connection-per-server=NUM | 一个server的最大并发下载数 |
--no-conf | Disable loading aria2.conf file. |
--timeout | 超时时间 |
--max-tries | 超时后尝试次数 |
--stop=SEC | SEC 秒后自动结束 |
--allow-overwrite=true | 覆盖 |
--enable-http-keep-alive | http长连接 |
--log-level | 日志级别 |
-u, --max-upload-limit=SPEED | 限速 |
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26250550/viewspace-1688028/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26250550/viewspace-1688028/