From 87f656bd50d6c3be18cb297154b477ccd615ff13 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Tue, 29 Oct 2013 07:58:43 +1000 Subject: [PATCH] My stupid script for searching the source tree --- findit | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 findit diff --git a/findit b/findit new file mode 100755 index 0000000000..c30421c9af --- /dev/null +++ b/findit @@ -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 "$@"