Skip to content

Instantly share code, notes, and snippets.

@doskoi
Created August 29, 2014 09:03
Show Gist options
  • Save doskoi/2b98fd3f954a2c877ce1 to your computer and use it in GitHub Desktop.
Save doskoi/2b98fd3f954a2c877ce1 to your computer and use it in GitHub Desktop.
Unused
#!/bin/sh
PROJ=`find . -name '*.xib' -o -name '*.[mh]'`
for png in `find . -name '*.png'`
do
name=`basename $png`
if ! grep -qhs "$name" "$PROJ"; then
echo "$png is not referenced"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment