find多个目录

2020-09-29  本文已影响0人  rong酱
cat $1 | while read line
do
    path=`echo -e ${line} | awk '{print $1}'`
    Infer_LIB=`echo -e ${line} | awk '{print $2}'`
    PATH_LIB=`echo -e ${line} | awk '{print $3}'`
    path_LIB=`echo -e ${path}${Infer_LIB}`
    path_LIB=`echo -e ${path}${PATH_LIB}`
    count=$((${count}+1))
    echo -e find ${path_Infer_LIB} -type f -exec ls -lh {}" \\; >> path_LIB.result_"$count
    echo -e find ${path_PATH_LIB} -type f -exec ls -lh {}" \\; >> path_LIB.result_"$count
done
上一篇下一篇

猜你喜欢

热点阅读