سؤال

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!

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top