Aria2 怎么加载配置?

2021-03-14 18:15:41 +08:00
 v2tudnew
C:\Aria2>aria2c --conf-path=C:\Aria2\aria2.conf

Configuration file C:\Aria2\aria2.conf is not found.
Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Printing options tagged with '#help'.
See 'aria2c -h#help' to know all available tags.
Options:
-h, --help[=TAG|KEYWORD] Print usage and exit.
The help messages are classified with tags. A tag
starts with "#". For example, type "--help=#http"
to get the usage for the options tagged with
"#http". If non-tag word is given, print the usage
for the options whose name includes that word.

Possible Values: #basic, #advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #rpc, #checksum, #experimental, #deprecated, #help, #all
Default: #basic
Tags: #basic, #help

Refer to man page for more information.

--conf-path= 完全无效
738 次点击
所在节点    问与答
2 条回复
loli
2021-03-14 19:50:43 +08:00
Configuration file C:\Aria2\aria2.conf is not found.

文件没找到,具体是路径得加引号还是啥得具体分析(一个可能是权限,尽量不要放这个目录)

看你这是同级目录可以试试
aria2c --conf-path=aria2.conf
v2tudnew
2021-03-14 20:04:27 +08:00
@loli 没用,目录换了个、aria2c --conf-path=aria2.conf,也是这样。
虚拟机都不行,[下的这个]( https://github.com/aria2/aria2/releases/download/release-1.35.0/aria2-1.35.0-win-64bit-build1.zip),你试试。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/761542

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX