From 9909eb3d14ec1a7b2fe93ebfb5bc344cc397d1c5 Mon Sep 17 00:00:00 2001 From: Gurdit Singh Bedi Date: Tue, 11 May 2021 20:16:41 +0530 Subject: [PATCH] aria2c: add --force-sequential example and clarify default behavior (#5914) --- pages/common/aria2c.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pages/common/aria2c.md b/pages/common/aria2c.md index 260fa88cb1..323dec6a5b 100644 --- a/pages/common/aria2c.md +++ b/pages/common/aria2c.md @@ -8,21 +8,25 @@ `aria2c {{url}}` -- Download the contents of an URL to a file: +- Download the file pointed to by the specified URI with the specified output name: -`aria2c -o {{filename}} {{url}}` +`aria2c --out={{filename}} {{url}}` -- Download from multiple sources: +- Download multiple files in parallel: + +`aria2c --force-sequential {{url_1}} {{url_2}}` + +- Download from multiple sources each URI pointing to the same file: `aria2c {{url_1}} {{url_2}}` -- Download the URIs listed in a file: +- Download the URIs listed in a file with limited parallel downloads: -`aria2c -i {{filename}}` +`aria2c --input-file={{filename}} --max-concurrent-downloads={{number_of_downloads}}` - Download with multiple connections: -`aria2c -s {{connections_num}} {{url}}` +`aria2c --split={{number_of_connections}} {{url}}` - FTP download with username and password: