1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 07:18:29 +01:00
tldr/pages/common/wget.md
2016-01-08 09:38:59 +01:00

24 lines
454 B
Markdown

# wget
> Download files from the Web.
> Supports HTTP, HTTPS, and FTP.
- Download a URL to a file:
`wget -O filename "{{url}}"`
- Limit download speed:
`wget --limit-rate={{200k}} {{url}}`
- Continue an incomplete download:
`wget -c {{url}}`
- Download a full website:
`wget --mirror -p --convert-links -P {{target_folder}} {{url}}`
- FTP download with username and password:
`wget --ftp-user={{username}} --ftp-password={{password}} {{url}}`