Yeah actually that's a very good idea.
And you can simply do (without globstar)
find ./ -type f -exec file {} \; | grep "Berkeley DB"
(And replace ./ with the directory path)
I'm getting this error back:
find: missing argument to '-exec' I guess something's missing from the line?
You probably need to escape the braces, like this:
find ./ -type f -exec file \{\} \; | grep "Berkeley DB"