Saturday, 27 August 2011

Downloading files at a fixed slower rate using trickle and wget

Sometimes downloading files causes connections to saturate or hang.

Installing trickle on Linux can help by allowing the user to shape the download / upload speed for any application!


First, install trickle.
sudo apt-get install trickle or compile from source

In this example we are shaping the speed of a wget download to 50kbps.

trickle -d 50 wget www.download.com/files/myfile.avi

There is a lot more trickle / trickled can do so check out the man files for it.

WindyCityTech Blogger
WindyWindyCityTech Wordpress

No comments:

Post a Comment