3 find ../theme -depth -iname "*.png" | xargs -n 1 -I {} basename {} | sort -u > /tmp/origin
4 while LINE=$(line) ; do
5 result=$(grep $LINE ../theme -r)
6 if [[ "$result" == "" ]] ; then
7 echo "remove $LINE ......"
8 find ../theme -depth -iname "$LINE" | xargs -n 1 rm -f
13 find ../images -depth -iname "*.png" | xargs -n 1 -I {} basename {} | sort -u > /tmp/origin
14 while LINE=$(line) ; do
15 result=$(grep $LINE ../src ../edc ../memo.edc ../include ../extend -r)
16 if [[ "$result" == "" ]] ; then
17 echo "remove $LINE ......"
18 find ../images -depth -iname "$LINE" | xargs -n 1 rm -f