我需要同时下载文件- wget不支持这一点,所以我想尝试aria2。但是,在aria2中,我看不到一个保持目录结构的选项。
发布于 2015-02-17 01:41:50
首先确定目录结构,然后构建并使用下载描述文件:
aria2c -i uri.txt其中uri.txt可能包含
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请记住,aria2是一个下载工具,而不是像rsync或lftp那样的同步实用程序。
引用rsync答案:https://stackoverflow.com/a/4147263/1163786和lftp答案:https://superuser.com/a/305236。
https://stackoverflow.com/questions/28202905
复制相似问题