Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-31 00:22:26 +00:00
parent 175e6fa7c5
commit 30cc3ddcd1
148 changed files with 228 additions and 183 deletions

View File

@@ -9,18 +9,18 @@ source: https://github.com/tldr-pages/tldr.git
> See also: `wget`, `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):
- Download the contents of a URL to a file indicated by the URL (`index.html` in this case):
`wcurl {{https://example.com/foo}}`
`wcurl {{https://example.com/index.html}}`
- Download the contents of a URL to a file with a specified name:
`wcurl {{[-o|--output]}} {{bar}} {{https://example.com/foo}}`
`wcurl {{[-o|--output]}} {{path/to/file}} {{https://example.com/index.html}}`
- Download the contents of a URL, enabling progress bar and defaulting to HTTP/2:
`wcurl --curl-options "--progress-bar --http2" {{https://example.com/foo}}`
`wcurl --curl-options "--progress-bar --http2" {{https://example.com/index.html}}`
- Resume from an interrupted download:
`wcurl --curl-options "--clobber --continue-at -" {{https://example.com/foo}}`
`wcurl --curl-options "--clobber --continue-at -" {{https://example.com/index.html}}`