summaryrefslogtreecommitdiff
path: root/find_by_keyword
blob: 93bf851d2b639d5d4ddd7e9c3083e92a6f3e87fe (plain)
1
2
3
4
5
6
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