Wget

From Schmid.wiki
Jump to: navigation, search

Contents

Quick Reference

Options:

-c : continue download

Proxy:

http_proxy=http://proxyname:port wget URL

Download All Music From Some Site

wget -Amp3,flac -rHl1 -nd 'http://www.some.site.org/'

-A  : accept these filetypes
-r  : recursive
-H  : span hosts
-l1 : recurse 1 level

-nd : don't create dir hierarchy

Special Usage

Get all movies from all sites contained in 'site_list.txt'

$ wget -nd -Pmovies -r -l1 -np -A"mpg,mpeg,wmv" -i site_list.txt

Using Proxy

Win32 example:

 set http_proxy=http://wwwproxy.cs.aau.dk:3128
 wget http://www.something.org/file.txt

*NIX example:

http_proxy=http://wwwproxy.cs.aau.dk:3128 wget http://www.something.org/file.txt
Personal tools