Skip to content

Instantly share code, notes, and snippets.

@mattia72
Last active February 23, 2021 11:56
Show Gist options
  • Save mattia72/426e907eb0cf6d63a13830f8827d1a8d to your computer and use it in GitHub Desktop.
Save mattia72/426e907eb0cf6d63a13830f8827d1a8d to your computer and use it in GitHub Desktop.
Command line for torrent download with aria2c
# Command to download file via torrent link using aria2.
# See website and documentation at https://aria2.github.io
# -d specifies the directory to store the downloaded file
# --seed-time=0 disables seeding after download has completed
aria2c -d ~/Downloads --seed-time=0 http://url/to/file.torrent
# or
aria2c -d ~/Downloads --seed-time=0 path/to/file.torrent
# The torrent file itself can be downloaded via
aria2c --follow-torrent=false http://url/to/file.torrent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment