GNU/Linux Command – WGET

wget — Non-Interactive tool to download files from Web.


GNU Wget is a utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies with/with-out password.

Examples:$ wget http://server/ -- Download the Main page.  $ wget -t=5 http://server/file.html -- Retry 5 times before fails.  $ wget -c -- Continue getting a partially downloaded file.  $ wget -r -l2 -P/tmp -- Download 1st two level of files from the server and save in /tmp.  $ wget -i urls.txt -- Read the URLs from the file and download.  $ wget -p http://server/file.html -- Download all other necessary files.  $ wget --mirror -- Mirror the remote site in the local space.$ wget -m --wait=6 -- Same as above. Wait for 6sec between retrivals.$ wget -m --wait=6 --random-wait -- Same as above. Wait for 0-12sec between retrivals. $ wget --limit-rate=96k http://server/file.iso -- Limit the download speed to 96Kbps.

Read: man wget and info wget (Lot of examples available)

Leave a Reply

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

You are commenting using your 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 )

Connecting to %s

%d bloggers like this: