From: Oleg Broytman Date: Mon, 26 Jan 2015 06:43:02 +0000 (+0300) Subject: Add bin/find_home.sh X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=fc0030efb11c0ff84fd1465decef4763fd3d4539;p=dotfiles.git Add 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