2025-07-24 22:27:13 -06:00
|
|
|
# wcurl
|
|
|
|
|
|
|
|
|
|
> A simple wrapper around `curl` to easily download files.
|
2026-02-18 06:55:01 -07:00
|
|
|
> See also: `wget`, `curl`.
|
2025-07-24 22:27:13 -06:00
|
|
|
> More information: <https://curl.se/wcurl/manual.html>.
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Download the contents of a URL to a file indicated by the URL (`index.html` in this case):
|
2025-07-24 22:27:13 -06:00
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`wcurl {{https://example.com/index.html}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Download the contents of a URL to a file with a specified name:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`wcurl {{[-o|--output]}} {{path/to/file}} {{https://example.com/index.html}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Download the contents of a URL, enabling progress bar and defaulting to HTTP/2:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`wcurl --curl-options "--progress-bar --http2" {{https://example.com/index.html}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Resume from an interrupted download:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`wcurl --curl-options "--clobber --continue-at -" {{https://example.com/index.html}}`
|