wget: use long arguments (#5879)

This commit is contained in:
Nicolas Kosinski
2021-05-04 09:25:49 +02:00
committed by GitHub
parent a312432c36
commit 5d01dae43f
3 changed files with 9 additions and 9 deletions

View File

@@ -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}}`