#!/bin/zsh mv index.html index_old.html wget --no-check-certificate https://pvpr.com/ sitediff=$(diff index.html index_old.html | grep "images\/program") if [[ ${#sitediff} -gt 0 ]] then echo "change" fi