Download a single file:
wget http://example.com/file.zip- This saves
file.zipin your current directory.
wget -O myfile.zip http://example.com/file.zip-Olets you rename the file while downloading.
wget -b http://example.com/file.zip-bdownloads in the background.- Logs are saved to
wget-log.
wget -c http://example.com/file.zip-ccontinues where it left off if the download was interrupted.
wget -r -np -k http://example.com-r: recursive (download linked pages)-np: no parent (don’t go to upper directories)-k: convert links for offline viewing
wget --limit-rate=100k http://example.com/file.zip- Limits download speed to 100 KB/s.
wget --user=username --password=password http://example.com/securefile.zipCreate a file urls.txt with one URL per line, then:
wget -i urls.txtDocumentation: GNU Wget Manual