Skip to content

Instantly share code, notes, and snippets.

@ljay79
Last active January 18, 2019 14:47
Show Gist options
  • Save ljay79/49e19ff7bc9ce4a77868fdff30bb2c85 to your computer and use it in GitHub Desktop.
Save ljay79/49e19ff7bc9ce4a77868fdff30bb2c85 to your computer and use it in GitHub Desktop.
Creating a local mirror of online website
wget -mpckE -rH --level=2 --convert-links -D[comma list of domains to include;example.org] \
-P ./backup/ --user-agent="" -e robots=off --wait 2 \
--restrict-file-names=ascii,windows \
https://www.example.org/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment