find . -type f | xargs file | grep text | cut -d\':\' -f1 | xargs grep -l \"TEXTSEARCH\" {}
it\'s a good solution? for find TEXTSEARCH recursively in o
Another, less elegant solution than kevs, is, to chain -exec commands in find together, without xargs and cut:
find . -type f -exec bash -c "file -bi {} | grep -q text" \; -exec grep TEXTSEARCH {} ";"