是否可以仅使用 aria2 播种?

Is it possible to seed only with aria2?

我用英特尔计算棒构建了一个小工具 (IoT),它可以下载 torrent 内容,然后为它播种。

而且有效。

现在我想为我下载的文件播种,即使在重启后也不需要重新下载(出于显而易见的原因...)

aria2 上的任何选项都无法做到这一点 (here is the doc),我想知道是否有我可以做的技巧或任何其他命令行应用程序可以做到这一点?

看起来您可以使用 -V 选项来执行此操作,尽管它看起来没有很好的文档记录。来自 this 网页:

You can seed downloaded file using -V option. This will first check piece hashes for the downloaded file.

aria2c -V -d/path/to/dir file.torrent

我还建议添加 --seed-ratio=0.0,这样您就可以永远为文件播种:

aria2c -V --seed-ratio=0.0 -d/path/to/dir file.torrent

我知道这是一个老问题,但万一有人(比如我)找到它 -

-V 选项工作得很好,但如果您不想在播种前验证所有文件,您可以改用 --bt-seed-unverifiedOfficial documentation.

例如,考虑以下文件夹结构:

  • 种子数据
    • .torrent 文件

要播种种子,您可以在包含 .torrent 文件的目录中使用此命令:
ls | aria2c --bt-seed-unverified --seed-ratio=0.0 -d "../" -i -