diff options
Diffstat (limited to 'find_by_keyword')
-rwxr-xr-x | find_by_keyword | 7 |
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 + |