]> git.phdru.name Git - dotfiles.git/commitdiff
Add bin/find_home.sh
authorOleg Broytman <phd@phdru.name>
Mon, 26 Jan 2015 06:43:02 +0000 (09:43 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 26 Jan 2015 06:43:02 +0000 (09:43 +0300)
bin/find_home.sh [new file with mode: 0755]

diff --git a/bin/find_home.sh b/bin/find_home.sh
new file mode 100755 (executable)
index 0000000..5d4ed2e
--- /dev/null
@@ -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