Skip to content

anhtr13/treer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Treer

A strip down version of the tree command with some additional tweaks:

  • Display only directories that match some wild-card patterns and reveal all their contents.
  • Highlight all matched directory names and all their subdirectories.

screenshot_1

screenshot_2

Installation

  • Prequisite: Rust and Cargo installed

  • Install:

    git clone https://github.com/anhtr13/treer
    cd treer
    cargo install --path .

Usage

  treer [OPTIONS] [PATH]

Arguments:

[PATH]: Path to the directory. [default: .]

Options:

Short Long Description
-a --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.
-L --level Descend only level directories deep.
-i --no-indent Disable indentation.
-I --exclude Ignore directories that match some wild-card patterns. May have multiple -I.
-s --size Print file size.
-p --permissions Print permissions.
-P --pattern List only directories that match some wild-card patterns and their contents. May have multiple -P.
-t --sort-by-time Sort by last modification time.
-h --help Print help.

About

Minor version of tree written in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages