1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 11:17:59 +01:00

add wget.md

This commit is contained in:
Felix Yan 2014-02-25 00:29:46 +08:00
parent ceb00f1616
commit e2a3f93212

24
common/wget.md Normal file
View file

@ -0,0 +1,24 @@
# 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 ./LOCAL-DIR {{URL}}`
- FTP download with username and password
`wget --ftp-user={{USERNAME}} --ftp-password={{PASSWORD}} {{URL}}`