[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Determine mime type of a file
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 2 May 2011 12:34:10 +0200
On Mon, May 2, 2011 at 12:23 PM, Marco <email@example.com> wrote:
> Can't find what? The “file” executable, the extension, the
> mime type? Anyway…
Sorry, I was thinking about the file extension and its mapping onto a MIME type.
That's another issue: in Windows just about everything is driven by
extensions, in Unix you need something like 'file' to have a quick
peek under the hood, checking binary signatures etc. These different
philosophies make a cross-platform solution an interesting challenge.