Copied to clipboard

wget

wget is a command-line tool used for downloading files from the internet. It can download a single file or an entire website, and supports resuming downloads.

Examples

  • Download a single file: wget <https://example.com/file.zip>
  • Download an entire website: wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL
  • Resume a download: wget -c <https://example.com/file.zip>
  • Download using a proxy server: wget -e use_proxy=yes -e http_proxy=PROXY-URL <https://example.com/file.zip>
  • Limit download speed: wget --limit-rate=200k <https://example.com/file.zip>
  • Set the user agent: wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" <https://example.com/file.zip>