Created
September 16, 2016 10:59
-
-
Save dbarden/346ed7aac90a341961d65b3babf0cd0b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for file in $(find . -name "*imageset" | xargs -IX basename "X" | sed s/".imageset"//); do | |
grep --exclude-dir=Resources/Assets.xcassets --exclude-dir=Resources/CustomAssets.xcassets -c $file * -R > /dev/null | |
if [ $? -ne 0 ] | |
then | |
echo "Could not create find $file" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment