Skip to content

Instantly share code, notes, and snippets.

@dman777
Created August 7, 2017 20:01
Show Gist options
  • Save dman777/492f57f6ef60404b900dd071a05f8e76 to your computer and use it in GitHub Desktop.
Save dman777/492f57f6ef60404b900dd071a05f8e76 to your computer and use it in GitHub Desktop.
files=./images/*
while read -r file;
do
grep -l "$file" -R * | grep -v MarketPlaceLog | grep -v cache > /dev/null
if [ $? -eq 0 ]
then
echo $file
fi
done <<< "$files"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment