]> git.phdru.name Git - dotfiles.git/blobdiff - bin/find_home.sh
Add bin/find_home.sh
[dotfiles.git] / bin / find_home.sh
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