Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screen shot

Features

  • Pure Go, static binary without libmagic
  • Cross-platform: No unix specific code like mmap

Install binary

Download from https://github.com/file-go/fil/releases

Install from source

go install github.com/file-go/fil@latest

Build from source for Windows x64

GOOS=windows GOARCH=amd64 go build -o fil.exe

Usage

Just like unix file command

$ fil <FILE_NAME>

MIT Licence

The code is based on toybox (but it is written in C, and only runs on unix-like OS)

TODO

  1. Port more code from toybox/file.c
  2. Port more code from filetype/matchers
  3. More magic

About

😋 Unix file command written in Go

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages