This is the mail archive of the
mailing list for the Cygwin project.
Re: an "open" command which resolves file associations
- From: Randall R Schulz <rrschulz at cris dot com>
- To: "Eric Butler" <eric at extremeboredom dot net>, <cygwin at cygwin dot com>
- Date: Sun, 21 Jul 2002 15:44:02 -0700
- Subject: Re: an "open" command which resolves file associations
- References: <email@example.com>
There is a stock Unix tool, "file," that identifies file types based on
content. It is driven by patterns specified in the file /usr/share/magic
(which gets compiled into a binary form that the "file" command uses).
You can add to the "magic" descriptions if you have file formats not
covered (there are over 1000 types covered by the magic file delivered with
Consult file(1) and magic(4) for details.
Mountain View, CA USA
At 15:23 2002-07-21, Eric Butler wrote:
Does anyone know of any tools that figures out what type of file something
is without relying on it having an extention like konqeror ?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html