How can I calculate an MD5 checksum of a directory?
Create a tar archive file on the fly and pipe that to md5sum: tar c dir | md5sum This produces a single MD5 hash value that should be unique to your file and sub-directory setup. No files are created on disk.