Comment on page
View
entries' meta data to show
--full-path
--relative-to=base

enclose entry names in double quotes(overridden by
--literal
)-Q
or --quote-name
--literal
or -N
show git status
--git



--time

the default time is modified time, which can be changed by option
--time-type
or use option
--create
--mod
--access
--birth(macOS)
type | option |
---|---|
access | time-type=access |
modified | time-type=mod |
create | time-type=create |
if you want to show them all, use the option
--time-type=access,mod,create,birth
to combine them
the default displaying style is
Day.Month'Year Hour:Minute
(02.Jan'06 15:04) in Golangtime-style can be changed by option
--time-style
g --time --time-style=iso
Available style:
- iso
- long-iso
- full-iso
- locale
- +FORMAT (FORMAT is interpreted like in date(1), but not fully supported)
Also, the TIME_STYLE environment variable sets the default style to use.
use
--relative-time

--size
the size of the directory is itself, use
g --size --recursive-size
to show the size of the whole directory 
size

recursive size
--size-unit=bit/b/k/.../auto
or
--block-size=...
--total-size --size
show the total size of all listing files/directories (overridden by --no-total-size
)
g --block
g --inode
not working on Windows
g --link
g --group
g --owner
g --owner/group --numeric
or just
g --uid/gid
show the group name only when it's different from the owner
g --perm
g --mime
g --mime-parent
g --charset
when enabling the mime-type option,
g
will read the file to detect mime typeuse
--exact-detect-size=512kb/1M/.../nolimit/infinity
to change the size of bytes g will read from the file 0 means nolimit
g --checksum
default: sha1
use
--checksum-algorithm=algo1,algo2...
to change algorithmalgo: md5,sha1, sha224, sha256, sha384, sha512, crc32

Last modified 19d ago