# This removes path differences and only compares source hashes to destination
# hashes. Only non-matching lines (e.g. those hashes that don’t match) should
# be printed.
cut -f 1 -d ‘ ‘ {SOURCE}.md5 > {SOURCE}-hash-only.md5
grep -v -f {SOURCE}-hash-only.md5 {TARGET}.md5