Browse Source

wget: use long arguments (#5879)

Nicolas Kosinski 3 years ago
parent
commit
5d01dae43f
3 changed files with 9 additions and 9 deletions
  1. 3 3
      pages.it/common/wget.md
  2. 3 3
      pages.zh/common/wget.md
  3. 3 3
      pages/common/wget.md

+ 3 - 3
pages.it/common/wget.md

@@ -10,7 +10,7 @@
 
 - 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:
 
@@ -30,8 +30,8 @@
 
 - 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:
 
-`wget -P {{percorso/alla/cartella}} -i {{lista_di_URL.txt}}`
+`wget --directory-prefix {{percorso/alla/cartella}} --input-file {{lista_di_URL.txt}}`

+ 3 - 3
pages.zh/common/wget.md

@@ -10,7 +10,7 @@
 
 - 将该 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 下载到一个目录中:
 
-`wget -P {{path/to/directory}} -i {{URLs.txt}}`
+`wget --directory-prefix {{path/to/directory}} --input-file {{URLs.txt}}`

+ 3 - 3
pages/common/wget.md

@@ -10,7 +10,7 @@
 
 - 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.):
 
@@ -30,8 +30,8 @@
 
 - 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:
 
-`wget -P {{path/to/directory}} -i {{URLs.txt}}`
+`wget --directory-prefix {{path/to/directory}} --input-file {{URLs.txt}}`