summaryrefslogtreecommitdiff
path: root/find-by-keyword
blob: adea9618131f9e1e62a744b2914fd5611ccda92f (plain)
1
2
3
4
5
6
7
8
#!/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