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 {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}

wget {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{[-w|--wait]}} 3 {{https://example.com/somepage.html}}

wget {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/somepath/}}

wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/somepath/}}

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

wget {{[-c|--continue]}} {{https://example.com}}

wget {{[-P|--directory-prefix]}} {{path/to/directory}} {{[-i|--input-file]}} {{URLs.txt}}