删除 200820 数据,重新计算MD5值;
cd ${path}
rm ./*/MD5.txt
for i in `ls ./*/*gz`;
do
path_link=`readlink -f $i`
RUN_data=`echo $path_link | awk -F "/" '{print $6}' `
sample_name=`echo $i | awk -F "/" '{print $2}'`
report_name=`echo $i | awk -F "/" '{print $3}'`
if [ "$RUN_data" = "200820" ];then
cd $sample_name
rm $report_name
cd ..
fi
if [ "$RUN_data" != "200820" ];then
cd $sample_name
md5sum $report_name >>MD5.txt
cd ..
fi
done
cd ${path}
for i in `ls ./*/*gz`;
do
path_link=`readlink -f $i`
RUN_data=`echo $path_link | awk -F "/" '{print $6}' `
sample_name=`echo $i | awk -F "/" '{print $2}'`
report_name=`echo $i | awk -F "/" '{print $3}'`
echo $path_link $report_name
done
网友评论