g

command module
v0.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2023 License: MIT Imports: 6 Imported by: 0

README

g

logo

a powerful ls

Go Report Card wakatime

Screenshots

image

install

go version required >= 1.20

go install -ldflags="-s -w -v"  github.com/Equationzhao/g@latest

Archlinux user can install g from AUR

yay -S g-ls

windows Scoop

scoop install https://raw.githubusercontent.com/Equationzhao/g/master/scoop/g.json
# upgrade
scoop uninstall g # uninstall first
scoop install https://raw.githubusercontent.com/Equationzhao/g/master/scoop/g.json

or just download from release page

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

created by bing

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL