Crates.io | e2o-ftree |
lib.rs | e2o-ftree |
version | 1.1.0 |
source | src |
created_at | 2024-09-29 08:48:27.025165 |
updated_at | 2024-10-14 20:13:52.542503 |
description | A file tree printing command line tool |
homepage | |
repository | https://github.com/eum2o/ftree |
max_upload_size | |
id | 1390730 |
size | 41,322 |
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.
./
├── 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
You can install ftree
using Cargo:
cargo install e2o-ftree
For more information about the crate, visit https://crates.io/crates/e2o-ftree.
Alternatively, you can download pre-built executables for various platforms from the GitHub releases page:
https://github.com/eum2o/ftree/releases
After installation, you can use the tool by running:
ftree [OPTIONS] [DIRECTORY]
[DIRECTORY]
: The directory to visualize. If not specified, defaults to the current directory.--git
: Exclude git-related files and directories from the output.-h, --help
: Print help information.ftree
: Visualize the current directoryftree /home/user
: Visualize a specific directoryftree relative/path/to/folder
: Visualize a relative pathftree --git
: Visualize the current directory, excluding git-related filesftree --git /home/user
: Visualize a specific directory, excluding git-related filesIf you encounter any problems or have any suggestions, please open an issue on ftree/issues.
Please refer to CONTRIBUTING.md.