Skip to content

Instantly share code, notes, and snippets.

@dman777
Created August 7, 2017 20:20
Show Gist options
  • Save dman777/7cb637eff36a2160a3d49e0731ec4615 to your computer and use it in GitHub Desktop.
Save dman777/7cb637eff36a2160a3d49e0731ec4615 to your computer and use it in GitHub Desktop.
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 < <(ls ./images)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment