#!/bin/sh
#需要计算MD5文件列表
# list=`ls`
list="file list"

for file in $list
do
        file1=`find . -name $file | tail -n 1`
        echo "$file1"
        md5sum $file1 >> ./md5sum.txt
done

 

posted on 2018-08-23 14:58  Malphite  阅读(814)  评论(0编辑  收藏  举报