Linux command: wget

From RHS Wiki
Jump to navigation Jump to search
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.