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:
parent
ceb00f1616
commit
e2a3f93212
1 changed files with 24 additions and 0 deletions
24
common/wget.md
Normal file
24
common/wget.md
Normal 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}}`
|
Loading…
Reference in a new issue