e2o-ftree

Crates.ioe2o-ftree
lib.rse2o-ftree
version1.1.0
sourcesrc
created_at2024-09-29 08:48:27.025165
updated_at2024-10-14 20:13:52.542503
descriptionA file tree printing command line tool
homepage
repositoryhttps://github.com/eum2o/ftree
max_upload_size
id1390730
size41,322
(eum2o)

documentation

README

ftree

ftree is a simple command-line tool for visualizing directory structures. It creates a tree-like representation of the file system that's easy to read and share.

Example Output

./
├── top level folder/
│   ├── MyTpye1.java
│   ├── MyType2.java
│   ├── nested folder 1/
│   │   └── filewithoutext
│   ├── nested folder empty/
│   └── nested folder 2/
│       ├── file1.txt
│       └── file2.txt
├── readme.md
└── meta.data

Installation

Using Cargo

You can install ftree using Cargo:

cargo install e2o-ftree

For more information about the crate, visit https://crates.io/crates/e2o-ftree.

Pre-built Executables

Alternatively, you can download pre-built executables for various platforms from the GitHub releases page:

https://github.com/eum2o/ftree/releases

Usage

After installation, you can use the tool by running:

ftree [OPTIONS] [DIRECTORY]

Arguments:

  • [DIRECTORY]: The directory to visualize. If not specified, defaults to the current directory.

Options:

  • --git: Exclude git-related files and directories from the output.
  • -h, --help: Print help information.

Examples:

  • ftree: Visualize the current directory
  • ftree /home/user: Visualize a specific directory
  • ftree relative/path/to/folder: Visualize a relative path
  • ftree --git: Visualize the current directory, excluding git-related files
  • ftree --git /home/user: Visualize a specific directory, excluding git-related files

Found a Bug or Got a Feature Request?

If you encounter any problems or have any suggestions, please open an issue on ftree/issues.

Contributing

Please refer to CONTRIBUTING.md.

Commit count: 25

cargo fmt