mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
My stupid script for searching the source tree
This commit is contained in:
@@ -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 "$@"
|
||||
Reference in New Issue
Block a user