Question

When I run

    file -bi 'filename'

in CentOS for 3GP, 3GPP2, etc. files, the return value is blank. For other files such as JPEG, GIF, MPEG, etc, the command returns the correct MIME type. Why is this so?

Thanks!

Was it helpful?

Solution

because the magic number for these video file type is not defined

you can take look on

man file

http://linux.die.net/man/1/file

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top