美文网首页
find多个目录

find多个目录

作者: rong酱 | 来源:发表于2020-09-29 20:10 被阅读0次
    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
    

    相关文章

      网友评论

          本文标题:find多个目录

          本文链接:https://www.haomeiwen.com/subject/soxyuktx.html