wget: use long arguments (#5879)

fix-hunspell-typos-042721
Nicolas Kosinski 2021-05-04 09:25:49 +02:00 committed by GitHub
parent a312432c36
commit 5d01dae43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@
- Scarica il contenuto dell'URL in un file (dal nome "efgh" in questo caso): - Scarica il contenuto dell'URL in un file (dal nome "efgh" in questo caso):
`wget -O {{efgh}} {{https://esempio.com/abcd}}` `wget --output-document {{efgh}} {{https://esempio.com/abcd}}`
- Scarica una singola pagina web e tutte le sue risorse (script, immagini, stili, ecc..) aspettando 3 secondi dopo ogni richiesta: - Scarica una singola pagina web e tutte le sue risorse (script, immagini, stili, ecc..) aspettando 3 secondi dopo ogni richiesta:
@ -30,8 +30,8 @@
- Riprende un download incompleto: - Riprende un download incompleto:
`wget -c {{https://esempio.com}}` `wget --continue {{https://esempio.com}}`
- Scarica tutti gli URL contenuti in un file di testo in una cartella specificata: - Scarica tutti gli URL contenuti in un file di testo in una cartella specificata:
`wget -P {{percorso/alla/cartella}} -i {{lista_di_URL.txt}}` `wget --directory-prefix {{percorso/alla/cartella}} --input-file {{lista_di_URL.txt}}`

View File

@ -10,7 +10,7 @@
- 将该 URL 的内容下载到文件中 (在这个例子中文件名为 "bar": - 将该 URL 的内容下载到文件中 (在这个例子中文件名为 "bar":
`wget -O {{bar}} {{https://example.com/foo}}` `wget --output-document {{bar}} {{https://example.com/foo}}`
- 以每三秒一个请求的速度下载一个网页和其所有资源 (脚本,样式表,图片等等): - 以每三秒一个请求的速度下载一个网页和其所有资源 (脚本,样式表,图片等等):
@ -30,8 +30,8 @@
- 继续一个未完成的下载任务: - 继续一个未完成的下载任务:
`wget -c {{https://example.com}}` `wget --continue {{https://example.com}}`
- 将指定文件中所有列出的 URL 下载到一个目录中: - 将指定文件中所有列出的 URL 下载到一个目录中:
`wget -P {{path/to/directory}} -i {{URLs.txt}}` `wget --directory-prefix {{path/to/directory}} --input-file {{URLs.txt}}`

View File

@ -10,7 +10,7 @@
- Download the contents of an URL to a file (named "bar" in this case): - Download the contents of an URL to a file (named "bar" in this case):
`wget -O {{bar}} {{https://example.com/foo}}` `wget --output-document {{bar}} {{https://example.com/foo}}`
- Download a single web page and all its resources with 3-second intervals between requests (scripts, stylesheets, images, etc.): - Download a single web page and all its resources with 3-second intervals between requests (scripts, stylesheets, images, etc.):
@ -30,8 +30,8 @@
- Continue an incomplete download: - Continue an incomplete download:
`wget -c {{https://example.com}}` `wget --continue {{https://example.com}}`
- Download all URLs stored in a text file to a specific directory: - Download all URLs stored in a text file to a specific directory:
`wget -P {{path/to/directory}} -i {{URLs.txt}}` `wget --directory-prefix {{path/to/directory}} --input-file {{URLs.txt}}`