mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 10:32:11 +03:00
tree.md: add more useful examples
and reorder entries by increasing complexity
This commit is contained in:
parent
0ad07e4f2d
commit
85dcf3eef6
@ -14,14 +14,14 @@
|
||||
|
||||
`tree -a`
|
||||
|
||||
- Print human readable size of files:
|
||||
- Print the tree without indentation lines, showing the full path instead:
|
||||
|
||||
`tree -h`
|
||||
`tree -i -f`
|
||||
|
||||
- Print the full path for each file:
|
||||
- Print the size of each node next to it, in human-readable format, with folders displaying their cumulative size (as in the `du` command):
|
||||
|
||||
`tree -f`
|
||||
`tree -s -h --du`
|
||||
|
||||
- Print the tree without lines and indentation. Useful when used with -f:
|
||||
- Filter the tree using a wildcard (glob) pattern, showing only the hierarchies leading to the matching entries:
|
||||
|
||||
`tree -i`
|
||||
`tree -P {{*.txt}} --prune`
|
||||
|
Loading…
Reference in New Issue
Block a user