From: Oleg Broytman Date: Wed, 7 Dec 2016 17:52:54 +0000 (+0300) Subject: bin/find_home: remove Bregis; add tmp X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f1f3f0dd0e29657ab234bfdcc21c3cd27084c7f5;p=dotfiles.git bin/find_home: remove Bregis; add tmp --- 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