문제

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