Skip to content

Instantly share code, notes, and snippets.

@mikkun
Created April 24, 2015 09:45
Show Gist options
  • Save mikkun/4dce6793bad5af833c09 to your computer and use it in GitHub Desktop.
Save mikkun/4dce6793bad5af833c09 to your computer and use it in GitHub Desktop.
サミットストア荏原4丁目店のWebページが更新されているか30分毎に確認するシェル芸(GNOME・Xfce用) ※試作版です
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