Created
April 24, 2015 09:45
-
-
Save mikkun/4dce6793bad5af833c09 to your computer and use it in GitHub Desktop.
サミットストア荏原4丁目店のWebページが更新されているか30分毎に確認するシェル芸(GNOME・Xfce用) ※試作版です
This file contains hidden or 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
URI='http://www.summitstore.co.jp/tirashi/doc/435a.html?1'; chkmd5(){ wget -q -rl1 -nd -P img -A html,gif,jpg "$URI"; find img -type f | sort -n | xargs md5sum; }; while :; do [ "_$(diff <(chkmd5) <(sleep 30m; chkmd5))" = "_" ] || notify-send -i info "更新あり: サミットストア荏原4丁目店"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment