1. Abstract
If you need an md5sum for a directory, you can get the md5sum for the files and md5sum for that list.
2. Command
find [Directory] -type f -exec md5sum {} \; | sort -k 2 | md5sum
If you need an md5sum for a directory, you can get the md5sum for the files and md5sum for that list.
find [Directory] -type f -exec md5sum {} \; | sort -k 2 | md5sum