X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Ffind_home_grep.sh;h=b5de70b4ef54f19aa1fc879f7fe6fe1f84e708fe;hb=HEAD;hp=dcca1ca01653bbdb982b6f195dcc8b1db4878780;hpb=fc9e8ef466f4645e75bc1507e8bbab7e0b58ace5;p=dotfiles.git diff --git a/bin/find_home_grep.sh b/bin/find_home_grep.sh index dcca1ca..b5de70b 100755 --- a/bin/find_home_grep.sh +++ b/bin/find_home_grep.sh @@ -1,4 +1,4 @@ #! /bin/sh cd "$HOME" && exec cgmem_nice 100 \ -find . \( -type d \( -name CVS -o -name .git -o -name .hg -o -name .svn -o -path ./.cache/chromium/\* -o -path ./.cache/mozilla/\* -o -path ./Internet/WWW/htdocs/doc/\* -o -path ./archive/STORE/\* -o -path ./current/Bregis/nobackup/\* -o -path ./media/\* -o -path ./mnt/\*\* \) -prune \) -o -type f -exec grep -I "$@" '{}' \+ 2>/dev/null +find . \( \( -name CVS -o -name .git -o -name .hg -o -name .svn -o -path ./.cache/chromium/\* -o -path ./.cache/mozilla/\* -o -path ./Internet/WWW/htdocs/doc/\* -o -path ./archive/STORE/\* -o -path ./media/\* -o -path ./mnt/\*\* -o -path ./tmp/\* \) -type d -prune \) -o -type f -exec grep -I "$@" '{}' \+ 2>/dev/null