use cmp instead of diff to check changes, use readlink -f option