[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Re: Determine mime type of a file
- From: "Gunnar Zötl" <gz@...>
- Date: Mon, 2 May 2011 12:56:25 +0200 (MEST)
> On 2011-05-02 steve donovan <email@example.com> wrote:
> > On Mon, May 2, 2011 at 11:32 AM, Marco <firstname.lastname@example.org> wrote:
> > > What do you mean by catalog? A file extension - mime
> > > type mapping?
> > That is exactly what the Gnome MIME XML files provide.
> Thanks for the pointer, I'll have a look at it.
you might also try what was once /etc/magic, on my ubuntu box it is now available as /usr/share/misc/magic.mime, or just look at the FILES section of the file manpage. It is quite compact and works really well.