Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 960 Bytes

Feature:-Detect-binary-files.md

File metadata and controls

19 lines (12 loc) · 960 Bytes

Detect binary files

The file utility relies on magic to identify a file's format.

It's possible to ask file to not use all its heuristics (which allow it to precisely identify a file) and merely provide a broad categorization -- returned as a mime type. This enables a fairly good determination of whether a file is not text.

⚠️ This is off by default.

To enable, include:

      with:
        use_magic_file: 1

This will be available in v0.0.21


FAQ | Showcase | Event descriptions | Configuration information | Known Issues | Possible features | Deprecations | Release notes | Helpful scripts