file -i test.xlsx returns application/octet-stream instead of real mime type

$ file -i import_test.xlsx
import_test.xlsx: application/octet-stream; charset=binary

The mime type should be "application/zip" but the command returns "application/octet-stream". This is working in Ubuntu 14.04. Though, I can't remember if I have installed some additional packages to get it working.

Is there some packages that need to be installed in order to get the mime types recognized for office files?

I have already the latest libfile-mimeinfo-perl.

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like