/ Command Line

Unix file command written in Go

Unix file command written in Go

fil

@joeky888 needs file command on Windows, so he made one.

Features

  • Pure Go, static binary without libmagic
  • Lightweight, The only dependency is os
  • Cross-platform: No unix specific code like mmap

Install binary
Download from https://github.com/joeky888/fil/releases

Install from source

go get -u github.com/joeky888/fil

Usage

Just like unix file command

$ fil <FILE_NAME>

GitHub