tldr/pages/common/wget.md

25 lines
448 B
Markdown
Raw Normal View History

2014-02-24 16:29:46 +00: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 16:29:46 +00:00
- Limit download speed
`wget --limit-rate={{200k}} {{url}}`
2014-02-24 16:29:46 +00:00
- Continue an incomplete download
`wget -c {{url}}`
2014-02-24 16:29:46 +00:00
- Download a full website
`wget --mirror -p --convert-links -P {{target_folder}} {{url}}`
2014-02-24 16:29:46 +00:00
- FTP download with username and password
`wget --ftp-user={{username}} --ftp-password={{password}} {{url}}`