1.将某个文件夹下所有的文件算出md5sum值 (/home)

find /home -type f -print0 | xargs -0 md5sum | sort >md5.txt

2. 进行md5sum 校验  

md5sum -c md5.txt