diff --git a/pages.nl/common/wcurl.md b/pages.nl/common/wcurl.md new file mode 100644 index 0000000000..e3a0d99083 --- /dev/null +++ b/pages.nl/common/wcurl.md @@ -0,0 +1,21 @@ +# wcurl + +> Een eenvoudige wrapper rond `curl` om eenvoudig bestanden te downloaden. +> Zie ook: `wget`, `curl`. +> Meer informatie: . + +- Download de inhoud van een URL naar een bestand dat wordt aangegeven door de URL (`index.html` in dit geval): + +`wcurl {{https://example.com/index.html}}` + +- Download de inhoud van een URL naar een bestand met een opgegeven naam: + +`wcurl {{[-o|--output]}} {{pad/naar/bestand}} {{https://example.com/index.html}}` + +- Download de inhoud van een URL, schakel de voortgangsbalk in en gebruik standaard HTTP/2: + +`wcurl --curl-options "--progress-bar --http2" {{https://example.com/index.html}}` + +- Hervat een onderbroken download: + +`wcurl --curl-options "--clobber --continue-at -" {{https://example.com/index.html}}` diff --git a/pages.pl/common/wcurl.md b/pages.pl/common/wcurl.md index e50987c69f..93e523a41a 100644 --- a/pages.pl/common/wcurl.md +++ b/pages.pl/common/wcurl.md @@ -1,21 +1,21 @@ # wcurl > Prosty wrapper na narzędzie `curl` do łatwego pobierania plików. -> Zobacz także: `curl`. +> Zobacz także: `wget`, `curl`. > Więcej informacji: . -- Pobierz zawartość URL do pliku wskazanego przez ten URL (w tym wypadku "foo"): +- Pobierz zawartość URL do pliku wskazanego przez ten URL (w tym wypadku `index.html`): -`wcurl {{https://example.com/foo}}` +`wcurl {{https://example.com/index.html}}` - Pobierz zawartość URL do pliku o określonej nazwie: -`wcurl {{[-o|--output]}} {{bar}} {{https://example.com/foo}}` +`wcurl {{[-o|--output]}} {{ścieżka/do/pliku}} {{https://example.com/index.html}}` - Pobierz zawartość URL, wyświetl pasek postępu i domyślnie użyj HTTP/2: -`wcurl --curl-options "--progress-bar --http2" {{https://example.com/foo}}` +`wcurl --curl-options "--progress-bar --http2" {{https://example.com/index.html}}` - Wznów przerwane pobieranie: -`wcurl --curl-options "--clobber --continue-at -" {{https://example.com/foo}}` +`wcurl --curl-options "--clobber --continue-at -" {{https://example.com/index.html}}` diff --git a/pages/common/wcurl.md b/pages/common/wcurl.md index 34fba34f53..45b069ef3f 100644 --- a/pages/common/wcurl.md +++ b/pages/common/wcurl.md @@ -4,18 +4,18 @@ > See also: `wget`, `curl`. > More information: . -- 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}}`