tree.md: add more useful examples

and reorder entries by increasing complexity
This commit is contained in:
Waldir Pimenta 2016-08-03 12:05:22 +01:00
parent 0ad07e4f2d
commit 85dcf3eef6

View File

@ -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`