All apps/file

file

file
Runs as file|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 10 fields

Determine the type of one or more files. Debugging, magic-file compilation and parameter limits are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui file
Identify file typeExample values, fixed in this page — nothing here reaches a terminal
Basic
Files*
any
Brief output
--brief
TasksEach one presets the form for one job
Identify files
filesbrief
Show MIME type
filesmimebrief
ParametersOnly these flags are editable in the form
Files
path · positional 0 · repeatable
Brief output
Do not prepend filenames to output lines.
boolean
--brief-b
MIME type output
boolean
--mime-I
Print valid extensions
boolean
--extension
Keep going after first match
boolean
--keep-going-k
Follow symlinks
boolean
--dereference-L
Do not follow symlinks
boolean
--no-dereference-h
Filename separator
string
--separator-F
Read file names from
path
--files-from-f
Magic file list
string
--magic-file-m
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed file against its version. A form that does not match your version is not offered.