mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-23 21:44:08 +02:00
wget: update page and add Dutch translation (#17742)
This commit is contained in:
parent
352d6cc0b8
commit
fd5f54236e
2 changed files with 41 additions and 4 deletions
37
pages.nl/common/wget.md
Normal file
37
pages.nl/common/wget.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
# wget
|
||||
|
||||
> Download bestanden vanaf het internet.
|
||||
> Ondersteunt HTTP, HTTPS en FTP.
|
||||
> Meer informatie: <https://www.gnu.org/software/wget/manual/wget.html>.
|
||||
|
||||
- Download de inhoud van een URL naar een bestand (in dit geval genaamd "foo"):
|
||||
|
||||
`wget {{https://example.com/foo}}`
|
||||
|
||||
- Download de inhoud van een URL naar een bestand (in dit geval genaamd "bar"):
|
||||
|
||||
`wget {{[-O|--output-document]}} {{bar}} {{https://example.com/foo}}`
|
||||
|
||||
- Download één webpagina en alle bijbehorende bronnen met een interval van 3 seconden tussen verzoeken (scripts, stylesheets, afbeeldingen, etc.):
|
||||
|
||||
`wget {{[-pkw|--page-requisites --convert-links --wait]}} 3 {{https://example.com/een_pagina.html}}`
|
||||
|
||||
- Download alle vermelde bestanden binnen een map en zijn submappen (downloadt geen embedded pagina-elementen):
|
||||
|
||||
`wget {{[-mnp|--mirror --no-parent]}} {{https://example.com/een_pad/}}`
|
||||
|
||||
- Beperk de downloadsnelheid en het aantal verbindingspogingen:
|
||||
|
||||
`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/een_pad/}}`
|
||||
|
||||
- Download een bestand van een HTTP-server met behulp van Basic Auth (werkt ook met FTP):
|
||||
|
||||
`wget --user {{gebruikersnaam}} --password {{wachtwoord}} {{https://example.com}}`
|
||||
|
||||
- Hervat een onvolledige download:
|
||||
|
||||
`wget {{[-c|--continue]}} {{https://example.com}}`
|
||||
|
||||
- Download alle URL's die zijn opgeslagen in een tekstbestand naar een specifieke map:
|
||||
|
||||
`wget {{[-P|--directory-prefix]}} {{pad/naar/map}} {{[-i|--input-file]}} {{pad/naar/URLs.txt}}`
|
|
@ -14,15 +14,15 @@
|
|||
|
||||
- Download a single web page and all its resources with 3-second intervals between requests (scripts, stylesheets, images, etc.):
|
||||
|
||||
`wget {{[-p|--page-requisites]}} {{[-k|--convert-links]}} {{[-w|--wait]}} 3 {{https://example.com/somepage.html}}`
|
||||
`wget {{[-pkw|--page-requisites --convert-links --wait]}} 3 {{https://example.com/some_page.html}}`
|
||||
|
||||
- Download all listed files within a directory and its sub-directories (does not download embedded page elements):
|
||||
|
||||
`wget {{[-m|--mirror]}} {{[-np|--no-parent]}} {{https://example.com/somepath/}}`
|
||||
`wget {{[-mnp|--mirror --no-parent]}} {{https://example.com/some_path/}}`
|
||||
|
||||
- Limit the download speed and the number of connection retries:
|
||||
|
||||
`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/somepath/}}`
|
||||
`wget --limit-rate {{300k}} {{[-t|--tries]}} {{100}} {{https://example.com/some_path/}}`
|
||||
|
||||
- Download a file from an HTTP server using Basic Auth (also works for FTP):
|
||||
|
||||
|
@ -34,4 +34,4 @@
|
|||
|
||||
- Download all URLs stored in a text file to a specific directory:
|
||||
|
||||
`wget {{[-P|--directory-prefix]}} {{path/to/directory}} {{[-i|--input-file]}} {{URLs.txt}}`
|
||||
`wget {{[-P|--directory-prefix]}} {{path/to/directory}} {{[-i|--input-file]}} {{path/to/URLs.txt}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue