version 1.38, 2015/04/24 20:32:34 |
version 1.39, 2015/04/24 20:57:51 |
|
|
.Nd determine file type |
.Nd determine file type |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm |
.Nm |
.Op Fl bciLsW |
.Op Fl bchiLsW |
.Ar |
.Ar |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
|
|
The options are as follows: |
The options are as follows: |
.Bl -tag -width indent |
.Bl -tag -width indent |
.It Fl b |
.It Fl b |
Do not prepend filenames to output lines. |
Does not prepend filenames to output lines. |
.It Fl c |
.It Fl c |
Print a summary of the parsed magic file; usually used for debugging. |
Prints a summary of the parsed magic file; usually used for debugging. |
|
.It Fl h |
|
Causes symlinks not to be followed. |
.It Fl i , -mime , -mime-type |
.It Fl i , -mime , -mime-type |
Causes the file command to output MIME type strings rather than the more |
Causes the file command to output MIME type strings rather than the more |
traditional human-readable ones. |
traditional human-readable ones. |
|
|
.Xr stat 2 |
.Xr stat 2 |
reports are ordinary files. |
reports are ordinary files. |
.It Fl W |
.It Fl W |
Display warnings when parsing the magic file or applying its tests. |
Displays warnings when parsing the magic file or applying its tests. |
Usually used for debugging. |
Usually used for debugging. |
.El |
.El |
.Sh FILES |
.Sh FILES |