snippetbashTip
aria2c — Fast download utility. Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink. See also: `axel`. More
Viewed 0 times
httpcommandaria2csupportsclidownloadfastutility
Problem
How to use the
aria2c command: Fast download utility. Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink. See also: axel. More information: <https://aria2.github.io/manual/en/html/aria2c.html>.Solution
aria2c — Fast download utility. Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink. See also: axel. More information: <https://aria2.github.io/manual/en/html/aria2c.html>.Download a specific URI to a file:
aria2c "{{url}}"Download a file from a URI with a specific output name:
aria2c {{[-o|--out]}} {{path/to/file}} "{{url}}"Download multiple different files in parallel:
aria2c {{[-Z|--force-sequential=true]}} {{"url1" "url2" ...}}Download the same file from different mirrors and verify the checksum of the downloaded file:
aria2c --checksum {{sha-256}}={{hash}} {{"url1" "url2" ...}}Download the URIs listed in a file with a specific number of parallel downloads:
aria2c {{[-i|--input-file]}} {{path/to/file}} {{[-j|--max-concurrent-downloads]}} {{number_of_downloads}}Download with multiple connections:
aria2c {{[-s|--split]}} {{number_of_connections}} "{{url}}"FTP download with username and password:
aria2c --ftp-user {{username}} --ftp-passwd {{password}} "{{url}}"Limit download speed in bytes/s:
aria2c --max-download-limit {{speed}} "{{url}}"Code Snippets
Download a specific URI to a file
aria2c "{{url}}"Download a file from a URI with a specific output name
aria2c {{[-o|--out]}} {{path/to/file}} "{{url}}"Download multiple different files in parallel
aria2c {{[-Z|--force-sequential=true]}} {{"url1" "url2" ...}}Download the same file from different mirrors and verify the checksum of the downloaded file
aria2c --checksum {{sha-256}}={{hash}} {{"url1" "url2" ...}}Download the URIs listed in a file with a specific number of parallel downloads
aria2c {{[-i|--input-file]}} {{path/to/file}} {{[-j|--max-concurrent-downloads]}} {{number_of_downloads}}Context
tldr-pages: common/aria2c
Revisions (0)
No revisions yet.