find . -exec sh -c "file -b --mime-type {} | grep -q '^text/'" \; -print
=

find <current_dir> (get mime of the file and check if 'text/' is in it) -print file

bold part is responsible for...