tpruvot/android_external_busybox — comment on commit 882d9f49b9db41206e3e32a63893dfd22c523bbc
File:  line 0
By royale1223:

Kind of. But it doesn't depend on mime type only. It performs a series of tests on a file and outputs what kind of file it actually is. It's one hell of a tool to have if you're into reverse engineering. I'm surprised that you haven't used it yet. It ships with almost all linux distros. Read more here http://www.darwinsys.com/file/ . I tried to compile it for armeabi yesterday but didnt suceed. I'm not any good at cross compiling anyway.