diff --git a/pages.it/common/wget.md b/pages.it/common/wget.md index dca06e529..0ec2bc0ad 100644 --- a/pages.it/common/wget.md +++ b/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}}` diff --git a/pages.zh/common/wget.md b/pages.zh/common/wget.md index 72b379c6d..5d1eaddb3 100644 --- a/pages.zh/common/wget.md +++ b/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}}` diff --git a/pages/common/wget.md b/pages/common/wget.md index a682fc008..9ebc645cb 100644 --- a/pages/common/wget.md +++ b/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}}`