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
猜你喜欢
  • 2021-08-07
  • 2022-12-23
  • 2021-12-03
  • 2021-08-16
  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案