#!/bin/bash

# 遍历当前目录及子目录中的所有文件
find . -type f ! -name "*.md5" | while read file; do
  # 生成MD5文件
  md5sum "$file" > "$file.md5"
done

