1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 07:18:29 +01:00
tldr/pages/common/tree.md
2015-12-29 11:03:04 -05:00

27 lines
389 B
Markdown

# tree
> Show the contents of the current directory as a tree.
- Show files and directories with a depth of 'num'
`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`