⚙️
g - powerful and cross-platform ls
  • Start
  • Installation
  • 🥳Usage
    • Basic
      • View
      • Display
        • Layout
        • Setting
        • Misc
      • Filtering
      • Sorting
    • Advanced
      • default option
      • cli markdown renderer
      • fuzzy match path
      • args
Powered by GitBook
On this page
  • Format
  • Zero
  • Tree 🌳
  • Recurse
  • Limit tree/recurse depth
  • Others

Was this helpful?

Edit on GitHub
  1. Usage
  2. Basic
  3. Display

Layout

output layout

Format

--format=layout

across -x, commas -m, horizontal -x, long -l, single-column -1, verbose -l, vertical -C, table -tb, HTML -html, Markdown -md, CSV -csv, TSV -tsv, json -j, tree -T

layout
aliases

across

x, horizontal

vertical

C

Default

commas

m

long

l, verbose

also add perm,total-size,size,owner,group,time, icons to view

single-column

1

markdown

md

no color and icons

csv

no color and icons

tsv

no color and icons

json

j

no color and icons

tree

T

Zero

end each output line with NUL, not newline

--zero or -0

Tree 🌳

list in trees

--tree or -T

some feature doesn't work in the tree view.

like --limit=N doesn't support tree view

Recurse

recurse into directory

--recurse or -R

Limit tree/recurse depth

--depth=num or --level=num

num < 0 means no limit

Others

PreviousDisplayNextSetting

Last updated 1 year ago

Was this helpful?

Please refer to the or program output with --help

🥳
man page