#!/bin/bash
#by zzh_my@163.com
#根据提供的文件名文本,查找指定目录下的该文件,找到后复制到指定文件夹。
filecontent=`cat name50.txt`
#echo $filecontent
#取得文件内容的每一行
for fileline in $filecontent
do
echo $fileline
# echo `find */*/*aA.T02 -name $fileline`
cp $(echo `find */*/*aA.T02 -name $fileline`) ../../16-2raw_deal/
done