[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] Mime editor

From: Magnus Stålnacke
Subject: Re: [gcmd-dev] Mime editor
Date: Wed, 28 Nov 2007 04:04:56 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061201 Firefox/

Magnus Stålnacke wrote:

Is there a complete list of all known mimetypes anywhere ?

cat /usr/share/applications/mimeinfo.cache \
/usr/share/mime/subclasses | \
sed 's/ /\n/;s/=.*//' | sort -u

That ought to catch most of them.. pipe to "wc -l" to count.
I get 389 of them, that is why i gave up the idea to list
all mimetypes and to list registered applications insted
(when started without filename).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]