[haiku-development] Re: File command?

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 3 Oct 2011 11:46:56 -0400

On Mon, Oct 3, 2011 at 11:37 AM, Stephan Aßmus <superstippi@xxxxxx> wrote:
> I am not sure what exactly the purpose of file is, but the expectations of a
> CLI user may depend on the exact situation. For example, bypassing the Haiku
> mime detection may actually be the point of using file.
>

file's main purpose is to figure out the type of a file by looking at
its contents, mimetype is only one possible output (it otherwise
outputs a human readable name for the type, as well as whatever detail
information it can figure out, i.e. the codecs/bitrate present in
media files).

Regards,

Rene

Other related posts: