Linux command
aria2c 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Download
aria2c [URL]
Example
aria2c -x 16 -s 16 [URL]
Example
aria2c -d [/path/to/dir] [URL]
Continue
aria2c -c [URL]
Example
aria2c "[magnet:?xt=urn:btih:...]"
Example
aria2c --enable-rpc --rpc-listen-all
说明
aria2c is the command-line interface for aria2, the multi-protocol download utility. It supports parallel downloads, segmented downloading, and multiple source URLs for maximizing download speed. The tool handles HTTP/HTTPS, FTP, SFTP, BitTorrent, and Metalink, with extensive configuration options.
参数
- -x _n_
- Max connections per server (default: 1)
- -s _n_
- Split file into n segments
- -c
- Continue/resume download
- -d _dir_
- Download directory
- -o _file_
- Output filename
- --file-allocation _method_
- none, prealloc, trunc, falloc
- --max-overall-download-limit _speed_
- Overall speed limit
- --enable-rpc
- Enable RPC interface
- --bt-enable-lpd
- Enable Local Peer Discovery
- --dht-listen-port _port_
- DHT port for BitTorrent
- -j _n_
- Maximum number of parallel downloads (default: 5)
- --seed-time _minutes_
- Seed time in minutes for BitTorrent (0 = no seeding)
- -i _file_, --input-file _file_
- Read URLs from file
- -q, --quiet
- Quiet mode
FAQ
What is the aria2c command used for?
aria2c is the command-line interface for aria2, the multi-protocol download utility. It supports parallel downloads, segmented downloading, and multiple source URLs for maximizing download speed. The tool handles HTTP/HTTPS, FTP, SFTP, BitTorrent, and Metalink, with extensive configuration options.
How do I run a basic aria2c example?
Run `aria2c [URL]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -x _n_ do in aria2c?
Max connections per server (default: 1)