1.递归计算当前目录所有文件的MD5值并保存到tmp.txt中 find . -type f -exec md5sum {} \;|tee tmp.txt 2. 使用-c 选项对文件MD5进行校验 md5sum -c tmp.txt 相关文章: 2021-12-12 2022-01-26 2021-05-29 2022-12-23 2021-08-13 2021-12-29