summaryrefslogtreecommitdiff
path: root/find_by_keyword
diff options
context:
space:
mode:
Diffstat (limited to 'find_by_keyword')
-rwxr-xr-xfind_by_keyword7
1 files changed, 7 insertions, 0 deletions
diff --git a/find_by_keyword b/find_by_keyword
new file mode 100755
index 0000000..93bf851
--- /dev/null
+++ b/find_by_keyword
@@ -0,0 +1,7 @@
+#!/bin/zsh
+
+for i in `find . -type f`; do
+ A=$(jhead $i 2>/dev/null | grep Keyword | grep $1)
+ if [ "$A" != "" ]; then echo $i; fi
+done
+