]> git.phdru.name Git - dotfiles.git/commitdiff
Add find_sources.sh: find files pruning VCS directories
authorOleg Broytman <phd@phdru.name>
Fri, 31 Jan 2014 11:11:52 +0000 (15:11 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 31 Jan 2014 11:11:52 +0000 (15:11 +0400)
bin/find_sources.sh [new file with mode: 0755]

diff --git a/bin/find_sources.sh b/bin/find_sources.sh
new file mode 100755 (executable)
index 0000000..c3111e6
--- /dev/null
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+exec cgmem_nice 100 \
+find . \( -type d \( -name CVS -o -name .git -o -name .hg -o -name .svn \) -prune \) -o -type f -print