#!/bin/sh
find $1 -name $2 > alldocs.txt
cat alldocs.txt | xargs -d "\n" hachoir-metadata ... | grep "NumWords"> docspiracy.txt
csvcut -d ":" -c 4 docspiracy.txt  | sed "s/^[ \t]*//" > docsclear.txt
sort docsclear.txt | uniq -c |sort -bgr > docssorted.txt
