My stupid script for searching the source tree

This commit is contained in:
Paul Gear
2013-10-29 07:58:43 +10:00
parent 0e84681728
commit 87f656bd50
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
find . \
-path ./html/images -prune -o \
-path ./patches -prune -o \
-path ./html/includes/geshi -prune -o \
-path ./html/includes/jpgraph -prune -o \
-path ./html/js/jqplot -prune -o \
-path ./logs -prune -o \
-path ./mibs -prune -o \
-path ./rrd -prune -o \
-name .svn -prune -o \
-type f -print|xargs grep "$@"