also i hope the curl joke is correct i don’t use it that much

also i hope there are itysl fans here

  • luciferofastora@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 hour ago

    Excerpted from the manual linked by the other response by @[email protected] for those who don’t want to dig through it:

    aria2 is a utility for downloading files. The supported protocols are HTTP(S), FTP, BitTorrent, and Metalink. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth.

    Basically, a powerful and versatile file downloader. It includes options to distribute downloads across multiple connections, download a bunch of files at once, automatically retry failed downloads, authorization, cookies and a lot of fancy options.

    @[email protected] has already explained what the specific flags in this case do:

    I think (a while ago)

    • -c is with a temp file to pick up again on failure
    • -x 10: # of connections
    • -k 5M: block size or something

    Specifically -x is the maximum number of connections per server, relevant mostly if multiple downloads are queried at once. -k defines the minimum size per block downloaded. In this case, if the file is smaller than 10MiB, it won’t be split because that would make the parts smaller than 5MiB. If it is larger, aria2c will split it into multiple connections, up to a default of 5 (unless a differenr value is specified by -s).