From fc0030efb11c0ff84fd1465decef4763fd3d4539 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 26 Jan 2015 09:43:02 +0300 Subject: [PATCH 1/1] Add bin/find_home.sh --- bin/find_home.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/find_home.sh diff --git a/bin/find_home.sh b/bin/find_home.sh new file mode 100755 index 0000000..5d4ed2e --- /dev/null +++ b/bin/find_home.sh @@ -0,0 +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 -- 2.39.2