Skip to content

Instantly share code, notes, and snippets.

@JesseHerrick
Created December 11, 2015 01:35
Show Gist options
  • Save JesseHerrick/8767aa097f371d319884 to your computer and use it in GitHub Desktop.
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 :)
# $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