Created
May 1, 2014 11:21
-
-
Save alvir/9448518bf4732669a02a to your computer and use it in GitHub Desktop.
Problem with word file mime-type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ file -b --mime-type 'Title_Of_Word_File.doc' | |
ERROR: (null) | |
$ file --version | |
file-5.09 | |
magic file from /etc/magic:/usr/share/misc/magic | |
$ apt-get update | |
$ apt-get install file | |
$ file --version | |
file-5.09 | |
magic file from /etc/magic:/usr/share/misc/magic | |
$ file -b --mime-type 'Title_Of_Word_File.doc' | |
application/msword | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment