Downloading N number of files Parallel-ly using wget command

Posted: October 30, 2017 in improvement, parallel download using wget

Download iso  one by one using below command it will take 10 mins means parallel download will take 7 mins

#wget -b -i  url.txt

# cat url.txt
http//:192.168.10.10/os/rhel6.1.iso
http//:192.168.10.10/os/rhel6.2.iso
http//:192.168.10.10/os/rhel6.3.iso
http//:192.168.10.10/os/rhel6.1.iso

-p parallel 4 iso i mentioned …

#time xargs -n 1 -P 4 wget < url.txt

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s