如果不编译为 magic 文件编译生成 magic.mgc 文件,将会得到警告
magic.mgc
Warning: using regular magic file
使用以下命令编译:
file -C -m MAGIC_FILE
编译好的文件将会生成在当前目录下。