引用:if [ -z "$1" ]; then
echo Usage: $0 \
exit 1
fi
echo -e Null directory list:
for i in $(find $1 -type d -print)
do
TMP=$(ls $i)
if [ "$TMP" = "\." ]; then
continue
elif [ -z "$TMP" ]; then
echo $i
fi
done
完毕。
引用:if [ -z "$1" ]; then
echo Usage: $0 \
exit 1
fi
echo -e Null directory list:
for i in $(find $1 -type d -print)
do
TMP=$(ls $i)
if [ "$TMP" = "\." ]; then
continue
elif [ -z "$TMP" ]; then
echo $i
fi
done
bybandzk 于 2014-04-18 17:01:38发表:
看看
xiadon 于 2014-03-27 11:54:03发表:
学习
西岸阳光 于 2014-03-27 11:43:35发表:
{:2_92:},点赞