Skip to content

Instantly share code, notes, and snippets.

@Fartomy
Created July 26, 2025 20:56
Show Gist options
  • Select an option

  • Save Fartomy/3420f4760088da559ebe630ceb7fd906 to your computer and use it in GitHub Desktop.

Select an option

Save Fartomy/3420f4760088da559ebe630ceb7fd906 to your computer and use it in GitHub Desktop.
Internet Download Manager But as CLI

⬇️ Internet Download Manager But as CLI

With aria2 you can use the terminal to parse the file and download it in parallel, just like the Internet Download Manager.

Example

aria2c -x4 -s4 -c -d /path/to/download/folder -i download-links.txt

Parameters:

-x4 -s4 = 4 links, 4 parts
-c = Continue (resume incomplete downloads)
-d /folder/path = Download folder
-i download-list.txt = Input file (URL list)

download-list.txt:

https://example.com/dosya1.zip
https://example.com/dosya2.pdf
https://releases.ubuntu.com/22.04/ubuntu-22.04.iso
ftp://ftp.example.com/dosya3.tar.gz

Info

aria2c --dry-run -i download-list.txt

--dry-run with this parameter you can verify if the links are broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment