mirror of https://github.com/cheat/cheat.git
Add aria2c sheet
This commit is contained in:
parent
403d715127
commit
034c1a2415
|
@ -0,0 +1,12 @@
|
||||||
|
# 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
|
Loading…
Reference in New Issue