Aria2c Downloader Alias(osx)

Install Aria2

brew install aria2

Add alias

1
2
3
4
5
6
7
8
# ~/.zshrc or ~/.bash_profile
function down() {
echo "Downloading..";
aria2c -c -x 16 $1 && say "Complete";
}

# -c, --continue => Continue/Resume
# -x => Multiple Connections

Eg Usage

1
down https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf