go install github.com/bhavya-dang/mstat@latestgit clone https://github.com/bhavya-dang/mstat.git
cd mstat
make installgit clone https://github.com/bhavya-dang/mstat.git
cd mstat
go build -o build/mstat ./cmd/mstat
cp build/mstat "$(go env GOPATH)/bin/mstat"mstat [file...] [flags]| Flag | Short | Description |
|---|---|---|
--brief |
-b |
Minimal output (name, size) |
--extended |
-x |
Extended output with all details |
--no-icons |
-n |
Disable Nerd Font icons |
--simple-icons |
-s |
Show only basic icons (folder, file, link) |
--version |
-v |
Show version |
Default: name | size | type | last modified | permissions
Brief (-b): name | size | type
Extended (-x): name | size | type | last modified | permissions | permissions octal | links
By default, mstat shows language-specific icons for files (Go, Typescript, Python, etc.).
Use --simple-icons to show only basic icons (folder, file, link, etc.).
Use --no-icons to disable all icons.
By default, directories and their icons will appear in ansi blue color. I am planning to make this configurable soon when configuration system is implemented.
This can be disabled using the --no-colors flag.
mstat .
mstat go.mod main.go README.md
mstat -n LICENSE
mstat -x internal/MIT License
This is an open-source project. Feel free to contribute to existing issues or open a new one if you find anything!
