Created
December 11, 2015 01:35
-
-
Save JesseHerrick/8767aa097f371d319884 to your computer and use it in GitHub Desktop.
Checks for site changes and reports yes or no. Useful for things like audition results :)
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
# $1 = site to check | |
while true | |
do | |
curl -L "$1" -o site1.html &>/dev/null | |
curl -L "$1" -o site2.html &>/dev/null | |
if diff -q site1.html site2.html &>/dev/null; then | |
echo "YES!!!" | |
else | |
echo "no." | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment