From f1f3f0dd0e29657ab234bfdcc21c3cd27084c7f5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 7 Dec 2016 20:52:54 +0300 Subject: [PATCH] bin/find_home: remove Bregis; add tmp --- bin/find_home.sh | 2 +- bin/find_home_grep.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/find_home.sh b/bin/find_home.sh index 5d4ed2e..f868059 100755 --- a/bin/find_home.sh +++ b/bin/find_home.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 "$@" -print 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 "$@" -print 2>/dev/null 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 -- 2.39.5