From fc9e8ef466f4645e75bc1507e8bbab7e0b58ace5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 31 Jan 2014 15:10:40 +0400 Subject: [PATCH] Order pruned VCS directories by name --- bin/find_home_grep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/find_home_grep.sh b/bin/find_home_grep.sh index b15636c..dcca1ca 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 .svn -o -name .git -o -name .hg -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 . \( -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 -- 2.39.5