Last active
June 6, 2019 16:29
-
-
Save markcam1/dfeaaf9196dae3332086c087fcfecddc to your computer and use it in GitHub Desktop.
simple website download script with SHELL
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/sh | |
# Mark Cameron: shell script to download website | |
printf "starting script ...\n\n" | |
#Variable for file name | |
FILE=downloaded_site.txt | |
#Variable for website location | |
URL=http://example.com | |
# downloading using WGET | |
wget $URL -O $FILE | |
printf "ending script..\n" | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment