[5a7589]: / scripts / findAnnotations.sh

Download this file

10 lines (6 with data), 174 Bytes

1
2
3
4
5
6
7
8
DIR=$1
KEYWORD='glom'
echo -e "scanning directory\t$DIR" >&2
find $DIR -type f -name "*.xml" -print0 | \
xargs -r0 -P2 grep -nHil -m1 $KEYWORD | \
sed "s|$DIR||"