问问题
601 次
1 回答
1
File=/home/foo
filestr=find /home/foo –name “foo*” –mtime -3 print
for FILE_IT in $(find /home/foo –name “foo*”)
do
fl_it_basename=$(basename $FILE_IT)
grep ${fl_it_basename) $FICHIER_GROUP_A >/dev/null 2>&1
if [ $? -ne 0 ]
then
/// File is not present
else
/// File is present
fi
done
于 2013-07-18T11:44:58.083 回答