2025-07-24 22:27:13 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`wcurl --curl-options "--clobber --continue-at -" {{https://example.com/foo}}`
|