wget Command Examples

Download files from the Web. Supports HTTP, HTTPS, and FTP. More information: https://www.gnu.org/software/wget.

wget {{https://example.com/foo}}

wget --output-document {{bar}} {{https://example.com/foo}}

wget --page-requisites --convert-links --wait=3 {{https://example.com/somepage.html}}

wget --mirror --no-parent {{https://example.com/somepath/}}

wget --limit-rate={{300k}} --tries={{100}} {{https://example.com/somepath/}}

wget --user={{username}} --password={{password}} {{https://example.com}}

wget --continue {{https://example.com}}

wget --directory-prefix {{path/to/directory}} --input-file {{URLs.txt}}