Checksum, diff, and patch directories.