Scroll to navigation

TRE(1) User Commands TRE(1)

NAME

tre - tre

DESCRIPTION

tre-command 0.4.0 Daniel Duan <daniel@duan.ca> Tree command, improved.

USAGE:

tre [OPTIONS] [PATH]

ARGS:

<PATH>
[default: .]

OPTIONS:

Print all files and directories, including hidden ones
When to color the output. `automatic` means when printing to a terminal, tre will include colors; otherwise it will disable colors [default: automatic] [possible values: automatic, always, never]
Only list directories in output
Create aliases for each displayed result, and add a number in front of file name to indicate the alias name. For example, a number "42" means an shell alias "e42" has been created. Running "e42" will cause the associated file or directory to be open with $EDITOR (or a default program for the file type on Windows), or a command specified along with this command
Exclude paths matching a regex pattern. Repeatable
Print help information
Output JSON instead of tree diagram
Limit depth of the tree in output
Generate portable (absolute) paths for editor aliases. By default, aliases use relative paths for better performance
Use normal print despite gitignore settings. '-a' has higher priority
Print version information
May 2024 tre 0.4.0