ladybird/Base/usr/share/man/man1/file.md
2021-05-07 16:29:58 +01:00

35 lines
658 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Name
file - determine type of files
## Synopsis
```**sh
$ file [options...] [files...]
```
## Description
`file` attempts to identify the type of files.
First, an attempt is made to identify a given file based on predetermined binary patterns. If this fails, `file` will fall back to determining the type based on the filename.
## Options
* `--help`: Display this message
* `-I`, `--mime-type`: Only show mime type.
## Arguments
* `files`: Files to identify
## Examples
```sh
# Identify a file
$ file Buggie.png
Buggie.png: PNG image data, 64 x 138
# Identify all files in the current directory, and show only the mime type.
$ file -I *
```