From: Oleg Broytman Date: Fri, 31 Jan 2014 11:10:40 +0000 (+0400) Subject: Order pruned VCS directories by name X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=fc9e8ef466f4645e75bc1507e8bbab7e0b58ace5;p=dotfiles.git Order pruned VCS directories by name --- 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