Skip to content

dzamlo/treeify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

treeify

treeify converts the output of a command that lists files into a tree representation similar to the output of the command tree.

Installation

If you use Arch Linux, a package is available in the AUR.

You can install the latest published version using cargo with the following command:

cargo install treeify

You can also install the latest version from the git repository:

cargo install --git https://github.com/dzamlo/treeify.git

A bash completion file is also generated but not installed with cargo install. To use it you need to either use the AUR package, or manually build the application yourself.

Usage

Simply pipe the output of a command to treeify. For example:

find ~ -name '*.rs' | treeify

To prevent issue with filename containing new line characters, you can use the -0 or --null option:

find ~ -name '*.rs' -print0 | treeify --null

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages