mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-03 03:22:15 +01:00
Add aria2c sheet
This commit is contained in:
parent
403d715127
commit
034c1a2415
1 changed files with 12 additions and 0 deletions
12
cheat/cheatsheets/aria2c
Normal file
12
cheat/cheatsheets/aria2c
Normal file
|
@ -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 a new issue