Download from https://github.com/file-go/fil/releases
go install github.com/file-go/fil@latest
Just like unix file command
$ fil <FILE_NAME>
The code is based on toybox (but it is written in C, and only runs on unix-like OS)
- Port more code from toybox/file.c
- Port more code from filetype/matchers
- More magic