#!/bin/sh
cd /Users/macbook/赵宏亚/代码测试/按钮颜色测试
PROJ=`find . -name '*.xib' -o -name '*.[mh]' -o -name '*.storyboard'`
for png in `find . -name '*.png'`
do
name=`basename $png`
if ! grep -qhs "$name" "$PROJ"; then
#echo "$png is not referenced"
base=`dirname $png` # 获取文件所在文件夹路径
base=`basename $png` # 获取文件本身名称
fi
done