Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Quick script that use wget to download an entire website
if [[ $# != 2 ]]; then
echo "Error: wrong number of arguments"
echo ""
echo "Usage: ./ <domain> <url>"
echo "Example ./"
echo ""
exit -1
wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --domain "$1" --no-parent "$2"
# Credits to techotopia.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.