mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 08:58:35 +01:00
12 lines
381 B
Text
12 lines
381 B
Text
# 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
|