57ijqw
Last Updated: July 27, 2016
·
6.354K
· filipekiss
1900150 10203074354438338 1015529188 n

Multi Thread wget

First of all, I tried to search for some similar tip around here but since I can't manage to find the search option and did not found this on the mais page for shell/linux, I am posting it.

So, have you ever wanted to multi-thread a wget download to make it faster? I know about aget but for some reason it doesn't work well on Mac Os X, so I came up with this:

for i in {1..3}; do wget -rnp -c -N [url]&; done;

This will start three instances of wget that will be "linked" and all download the same file. The options responsible for these are -rnp and -N. The -c option is there to "continue" the download in case something fails, like a drop on your connection or a blackout, than you just run you command again and it will continue from where it stopped :)

Hope it helps someone.

Say Thanks
Respond

7 Responses
Add your response

360
5105

Muito boa!

over 1 year ago ·
416
2ca121c284de40be65cb8bd1e9337193
over 1 year ago ·
592
81609937c20aeab3598aea56f1f4f022

Thanks 1+

over 1 year ago ·
620
39639fde05c65fae440b775989e55006

How come you didn't get aria2 while searching?

over 1 year ago ·
2189
Colin franz 1784

What is the & in [url]& for?

over 1 year ago ·
2192
Colin franz 1784
over 1 year ago ·
10437
A57664daee3fbc7bbe2ff4a76693e9c1 normal

it's very helpful, thanks a lot.

over 1 year ago ·
Filed Under