mirror of
https://github.com/Erreur32/cheat.git
synced 2024-10-31 21:11:07 +01:00
13 lines
381 B
Plaintext
13 lines
381 B
Plaintext
|
# Just download a file
|
||
|
# The url can be a http(s), ftp, .torrent file or even a magnet link
|
||
|
aria2c <url>
|
||
|
|
||
|
# To prevent downloading the .torrent file
|
||
|
aria2c --follow-torrent=mem <url>
|
||
|
|
||
|
# Download 1 file at a time (-j)
|
||
|
# continuing (-c) any partially downloaded ones
|
||
|
# to the directory specified (-d)
|
||
|
# reading urls from the file (-i)
|
||
|
aria2c -j 1 -c -d ~/Downloads -i /path/to/file
|