From ca41eddfdc979955105cce572e659941544d6f6d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Thu, 9 Oct 2014 20:44:15 +0100 Subject: alles neu macht der mai --- find_by_keyword | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 find_by_keyword (limited to 'find_by_keyword') 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 + -- cgit v1.2.3