'file -i' gives long description, not mime string
Bug #104912 reported by
Christian Convey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Christian Convey |
Bug Description
The command "file -i <filename>" is supposed to list the mime type of a file, rather than a longer, human-readable version of the file's type.
When I run this command, however: "file -i test.pdf", I get this output:
test.pdf: PDF document, version 1.3
It should have been something *like*, "test.pdf: application/pdf" (I'm not sure exactly what the proper mime-type string is for PDFs.)
I'm using pre-released Feisty Fawn (up-to-date as of 9 April 2007). I'll attach test.pdf in a moment.
To post a comment you must log in.
I am unable to confirm this here. The output I got from your test file is:
test.pdf: application/pdf
Does the problem happen for you with other file types or just PDF?