Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <005a01c2310a$ea3326d0$0501a8c0@mrcomputer> From: "Eric Butler" To: References: <20020721220540 DOT 30947 DOT qmail AT web21008 DOT mail DOT yahoo DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020721153347 DOT 02bae6f8 AT pop3 DOT cris DOT com> Subject: Re: an "open" command which resolves file associations Date: Sun, 21 Jul 2002 16:04:06 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 wow i cant belive i never heard about that. thanks. ----- Original Message ----- From: "Randall R Schulz" To: "Eric Butler" ; Sent: Sunday, July 21, 2002 3:44 PM Subject: Re: an "open" command which resolves file associations > Eric, > > 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 > Cygwin). > > Consult file(1) and magic(4) for details. > > Randall Schulz > 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 > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/