g
a powerful ls
Screenshots
usage
g path
with icon
g -si path
with mod time
g -st path
with fileperm
g -sp path
with owner/group
g -so path
g -sg path
with size
g -ss path
show all files, including hidden files
g -sh path
show dir only
g -sd path
list by line
g -1 path
g -bl path
show file only with target ext
g -ext=<target ext> path
list in tree
g -t path
limit depth in tree
g -t -depth=<level> path
fuzzy search
g -f path
# eg: g -f in
# /mnt/e/Project/gverything/index
# pathindex.go
show checksum (md5,sha1,sha256,sha512)
g -cs -ca=sha256 path
More options
g.md
custom theme
theme
install
go version required >= 1.20
go install -ldflags="-s -w -v -X main.compiledAt=$(date +%Y%m%d%H%M%S)" github.com/Equationzhao/g@latest
Archlinux user can install from AUR
yay -S g-ls
windows Scoop
scoop install https://raw.githubusercontent.com/Equationzhao/g/master/scoop/g.json
or just download from release page
logo
created by bing