- 格式
$ aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]
- optiions
-d, --dir=DIR The directory to store the downloaded file. -o, --out=FILE The file name of the downloaded file. -s, --split=N Download a file using N connections. -i, --input-file=FILE Downloads URIs found in FILE. -j Set maximum number of parallel downloads for every static (HTTP/FTP) URL, torren and metalink.
-
Download from WEB
$ aria2c http://example.org/mylinux.iso
-
Download from 2 sources
$ aria2c http://a/f.iso ftp://b/f.iso
-
Download using 2 connections per host
$ aria2c -x2 http://a/f.iso
-
BitTorrent
$ aria2c http://example.org/mylinux.torrent
-
BitTorrent Magnet URI
$ aria2c 'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C'
-
Metalink
$ aria2c http://example.org/mylinux.metalink
-
Download URIs found in text file:
$ aria2c -i uris.txt