Merge pull request #990 from tldr-pages/expand-tree.md
tree.md: add more useful examples
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
# tree
|
||||
|
||||
> Show the contents of the current directory as a tree.
|
||||
|
||||
- Show files and directories with a depth of 'num' (where 1 means the current directory):
|
||||
|
||||
`tree -L {{num}}`
|
||||
|
||||
- Show directories only:
|
||||
|
||||
`tree -d`
|
||||
|
||||
- Show hidden files too:
|
||||
|
||||
`tree -a`
|
||||
|
||||
- Print human readable size of files:
|
||||
|
||||
`tree -h`
|
||||
|
||||
- Print the full path for each file:
|
||||
|
||||
`tree -f`
|
||||
|
||||
- Print the tree without lines and indentation. Useful when used with -f:
|
||||
|
||||
`tree -i`
|
Reference in New Issue
Block a user