如何将目录结构与ARIA2保持联系?

问题描述 投票:0回答:1

确定目录结构首先 然后构建并使用下载描述文件:

linux unix aria2
1个回答
11
投票

哪里可能包含

uri.txt
保留ARIA2是下载util-不是sync util,例如rsync或lftp.

引用rsync答案:
https://stackoverflow.com/a/4147263/1163786

和一个LFTP答案:
Https://superuser.com/a/a/305236,.
----

Additional方案:您要下载多个URLL,同时在下载文件夹中保持目录结构相对于URL。 首先,我们创建一个下载文件夹作为下载目标。

http://serverA/file1.iso http://mirror-serverB/file1.iso # parameters must begin with a space, otherwise it's treatened as url! dir=/downloads/a # not mandatory out=file1.iso http://serverA/file2.iso http://mirror-serverB/file2.iso dir=/downloads/b out=file2.iso

秒,我们创建一个mkdir downloads 文件,其中包含爬行/索引后要下载的所有URL。 urls.txt

最终,我们称aria2并传递urls.txt文件,然后 - 搭配:

https://server.com/path/to/file1.txt https://server.com/path/to/subdir/file2.txt

如果您需要一个顺序顺序:`-force-requeential =true`.

	

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.