1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/aria2c.md

38 lines
943 B
Markdown
Raw Normal View History

2015-12-31 05:26:37 +08:00
# aria2c
2016-01-21 12:45:39 +01:00
> Fast download utility.
> Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink.
2019-06-09 00:05:26 +01:00
> More information: <https://aria2.github.io>.
2015-12-31 05:26:37 +08:00
2016-01-21 12:45:39 +01:00
- Download a URI to a file:
2015-12-31 05:26:37 +08:00
`aria2c {{url}}`
- Download the file pointed to by the specified URI with the specified output name:
`aria2c --out={{filename}} {{url}}`
- Download multiple files in parallel:
`aria2c --force-sequential {{url_1}} {{url_2}}`
- Download from multiple sources each URI pointing to the same file:
2015-12-31 05:26:37 +08:00
`aria2c {{url_1}} {{url_2}}`
- Download the URIs listed in a file with limited parallel downloads:
2015-12-31 05:26:37 +08:00
`aria2c --input-file={{filename}} --max-concurrent-downloads={{number_of_downloads}}`
2015-12-31 05:26:37 +08:00
2016-01-21 12:45:39 +01:00
- Download with multiple connections:
2015-12-31 05:26:37 +08:00
`aria2c --split={{number_of_connections}} {{url}}`
2015-12-31 05:26:37 +08:00
2016-01-21 12:45:39 +01:00
- FTP download with username and password:
2015-12-31 05:26:37 +08:00
`aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}`
2018-10-29 13:59:22 -03:00
- Limit download speed in bytes/s:
`aria2c --max-download-limit={{speed}} {{url}}`