mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 06:35:23 +02:00
wcurl: add page (#16638)
This commit is contained in:
parent
1b691ea2e2
commit
4889abce4c
1 changed files with 21 additions and 0 deletions
21
pages/common/wcurl.md
Normal file
21
pages/common/wcurl.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# wcurl
|
||||
|
||||
> A simple wrapper around `curl` to easily download files.
|
||||
> See also: `curl`.
|
||||
> More information: <https://curl.se/wcurl/manual.html>.
|
||||
|
||||
- Download the contents of a URL to a file indicated by the URL ("foo" in this case):
|
||||
|
||||
`wcurl {{https://example.com/foo}}`
|
||||
|
||||
- Download the contents of a URL to a file with a specified name:
|
||||
|
||||
`wcurl {{[-o|--output]}} {{bar}} {{https://example.com/foo}}`
|
||||
|
||||
- Download the contents of a URL, enabling progress bar and defaulting to HTTP/2:
|
||||
|
||||
`wcurl --curl-options "--progress-bar --http2" {{https://example.com/foo}}`
|
||||
|
||||
- Resume from an interrupted download:
|
||||
|
||||
`wcurl --curl-options "--continue-at -" {{https://example.com/foo}}`
|
Loading…
Add table
Reference in a new issue