X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Ffind_home_grep.sh;h=b5de70b4ef54f19aa1fc879f7fe6fe1f84e708fe;hb=f47c26b420ce5cdc352f921889dfacd67a7fad9a;hp=bbf4dc14005226dd9224791e52212a37bf62f3bc;hpb=d711fa89e534b28efa8c95139b852c1210b20c5c;p=dotfiles.git diff --git a/bin/find_home_grep.sh b/bin/find_home_grep.sh index bbf4dc1..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 . \( \( -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/\*\* \) -type d -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