2025-12-16 10:20:31 -07:00
|
|
|
# wcurl
|
|
|
|
|
|
|
|
|
|
> Prosty wrapper na narzędzie `curl` do łatwego pobierania plików.
|
2026-02-18 06:55:01 -07:00
|
|
|
> Zobacz także: `wget`, `curl`.
|
2025-12-16 10:20:31 -07:00
|
|
|
> Więcej informacji: <https://curl.se/wcurl/manual.html>.
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Pobierz zawartość URL do pliku wskazanego przez ten URL (w tym wypadku `index.html`):
|
2025-12-16 10:20:31 -07:00
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`wcurl {{https://example.com/index.html}}`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Pobierz zawartość URL do pliku o określonej nazwie:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`wcurl {{[-o|--output]}} {{ścieżka/do/pliku}} {{https://example.com/index.html}}`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Pobierz zawartość URL, wyświetl pasek postępu i domyślnie użyj HTTP/2:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`wcurl --curl-options "--progress-bar --http2" {{https://example.com/index.html}}`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Wznów przerwane pobieranie:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`wcurl --curl-options "--clobber --continue-at -" {{https://example.com/index.html}}`
|