5 if [ ! -f "$1.new" ]; then exit 0; fi
7 #do the original file exists?
14 #they do, compare them, but ignore the line with
15 if diff -I "Last modified:.*" $1.new $1 > /dev/null
16 then #they are the same - choose the old one, but set actual timestamp