Skip to content

Instantly share code, notes, and snippets.

@husnilk
Last active January 16, 2019 06:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save husnilk/4509182 to your computer and use it in GitHub Desktop.
Save husnilk/4509182 to your computer and use it in GitHub Desktop.
Command for downloading website via wget The options are: --recursive: download the entire Web site. --domains website.org: don't follow links outside website.org. --no-parent: don't follow links outside the directory tutorials/html/. --page-requisites: get all the elements that compose the page (images, CSS and so on). --html-extension: save fi…
$wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains [domain.org] \
--no-parent \
[http://domain.org/target/url/]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment