1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 09:17:57 +01:00
tldr/pages/common/wget.md

25 lines
447 B
Markdown
Raw Normal View History

2014-02-24 17:29:46 +01:00
# wget
> Download files from the Web
> Supports HTTP, HTTPS, and FTP
- Download a URL to a file
`wget -O filename "{{url}}"`
2014-02-24 17:29:46 +01:00
- Limit download speed
`wget --limit-rate={{200k}} {{url}}`
2014-02-24 17:29:46 +01:00
2015-10-22 09:31:52 +02:00
- Continue an incomplete download
2014-02-24 17:29:46 +01:00
`wget -c {{url}}`
2014-02-24 17:29:46 +01:00
- Download a full website
`wget --mirror -p --convert-links -P {{target_folder}} {{url}}`
2014-02-24 17:29:46 +01:00
- FTP download with username and password
`wget --ftp-user={{username}} --ftp-password={{password}} {{url}}`