From 1196a6f7ed394ba0437e04269914d8da1cbf60dd Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 25 Mar 2015 21:19:04 -0400 Subject: [PATCH] new fortune. --- scripts/text/search_text.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/text/search_text.sh b/scripts/text/search_text.sh index eb00a894..48905405 100644 --- a/scripts/text/search_text.sh +++ b/scripts/text/search_text.sh @@ -24,12 +24,16 @@ find "$dir" -type f \( -iname "*" \ ! -iname "*.dll" \ ! -iname "*.deb" \ ! -iname "*.dmg" \ + ! -iname "*.doc" \ + ! -iname "*.docx" \ ! -iname "*.exe" \ ! -iname "entries" \ ! -iname "*.git" \ + ! -iname "*.gif" \ ! -iname "*.gz" \ ! -iname "*.iar" \ ! -iname "*.jar" \ + ! -iname "*.jpg" \ ! -iname "*.lib" \ ! -iname "*.ncb" \ ! -iname "*.oar" \ @@ -43,6 +47,8 @@ find "$dir" -type f \( -iname "*" \ ! -iname "*.svn-base" \ ! -iname "*.tar" \ ! -iname "*.tmp" \ + ! -iname "*.xls" \ + ! -iname "*.xlsx" \ ! -iname "*.zip" \) \ -exec echo "\"{}\"" ';' | xargs grep -li -- "$seek" | grep -v "^\.[^\/]\|\/\." -- 2.34.1