遍历获取目录所有文件的md5:

DIR='/home/fukun'
find $DIR -type f -print0 | xargs -0 md5sum > ./md5.md5