Well, I am now trying to figure out how to export gnome mime-types (That both Nautilus and assogiate are aware of) to a magic mime file.
Code:# Magic local data for file(1) command. # Insert here your local magic data. Format is described in magic(5). #I really hope I don't have to do this... 20 string mp4 \b, MPEG v4 system, part 12 revision !:mime video/mp4I guess that's progress, but I'd really rather export gnome's list somehow.Code:file -m /etc/magic -ib VID00004.MP4 video/mp4; charset=binary
Any information would be greatly appreciated![]()



Adv Reply

Bookmarks