Treer
Another version of the tree command with some additional tweaks to better support recursive searching:
- Display only directories that match some wild-card patterns and reveal all their contents.
- Highlight all matching directory names and all prefixes of their subdirectories.


Installation
-
Prequisite: Rust and Cargo installed
-
Install:
-
From git repo
-
Or via cargo
-
Usage
Arguments:
[PATH]: Path to the directory. [default: .]
Options:
| Short | Long | Description |
|---|---|---|
| -a | --all | All (include hidden) directories. |
| -A | --ascii | Use ascii characters to indent. |
| -d | --directories | List directories only. |
| -D | --date | Print last modification date. |
| -f | --full | Print full path prefix. |
| --highlight | Enable highlight on matching directory and their contents. | |
| --icons | Enable Nerd Font icons based on file extension (need Nerd Font installed). | |
| -L | --level | Descend only level directories deep. |
| -i | --no-indent | Disable indentation. |
| -I | --exclude | Ignore files/folders that match the wild-card pattern. May have multiple -I. |
| -s | --size | Print file size. |
| -p | --permissions | Print permissions. |
| -P | --pattern | List only directories that match the wild-card pattern. May have multiple -P. |
| -t | --time | Sort by last modification time. |
| -h | --help | Print help. |