Created
September 5, 2017 12:37
-
-
Save eli-oat/c4a5ded07e1120bdb15a88bb0beac9e5 to your computer and use it in GitHub Desktop.
Download a website
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
printf "\n\n Please enter the URL of the website you wish to download.\n Do not include leading 'http://' or 'https://'?\n\n\n" | |
printf " " | |
read URL | |
printf "\n\n Depending on the size of the website you just\n entered, this may take a few minutes.\n\n\n" | |
sleep 6 | |
wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --domains ${URL} --no-parent http://${URL} | |
printf "\n\n DONE!\n\n\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment