#!/bin/bash
cat ./id.txt | while read line
do
res=`grep $line ../* -R -s`
if [ -z "$res" ] ##&& [ "$res" != " " ];
then
echo $line "无"
else
echo $line "有"
fi
done
搜索文件夹下包含的文件
猜你喜欢
转载自blog.csdn.net/liu0808/article/details/96992286
今日推荐
周排行