Difference between revisions of "Linux command: wget"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (Created page with " wget -xr website.com {| class="wikitable" |- ! Parameter !! Description |- | -r, --recursive || Download recursively |- | -l, --level=depth || Specify recursion maximum dept...") |
Rafahsolis (talk | contribs) m Tag: visualeditor |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| − | ! Parameter !! Description | + | !Parameter!!Description |
|- | |- | ||
| − | | -r, --recursive || Download recursively | + | | -r, --recursive||Download recursively |
|- | |- | ||
| − | | -l, --level=depth || Specify recursion maximum depth level | + | | -l, --level=depth||Specify recursion maximum depth level |
|- | |- | ||
| − | | -x || | + | | -x|| |
|- | |- | ||
| − | | -m || | + | | -m||shortcut for -N -r -l inf --no-remove-listing. |
|- | |- | ||
| − | | -H || | + | | -H|| |
|- | |- | ||
| − | | -p || | + | | -p|| |
|- | |- | ||
| − | | -k || | + | | -k||make links in downloaded HTML point to local files. |
|} | |} | ||
| + | |||
| + | === Download page === | ||
| + | <syntaxhighlight lang="text"> | ||
| + | wget -m -k -E [url] | ||
| + | |||
| + | -E, --html-extension save HTML documents with `.html' extension. | ||
| + | -m, --mirror shortcut for -N -r -l inf --no-remove-listing. | ||
| + | -k, --convert-links make links in downloaded HTML point to local files. | ||
| + | </syntaxhighlight> | ||
Latest revision as of 12:03, 24 May 2019
wget -xr website.com
| Parameter | Description |
|---|---|
| -r, --recursive | Download recursively |
| -l, --level=depth | Specify recursion maximum depth level |
| -x | |
| -m | shortcut for -N -r -l inf --no-remove-listing. |
| -H | |
| -p | |
| -k | make links in downloaded HTML point to local files. |
Download page
wget -m -k -E [url]
-E, --html-extension save HTML documents with `.html' extension.
-m, --mirror shortcut for -N -r -l inf --no-remove-listing.
-k, --convert-links make links in downloaded HTML point to local files.