Crates.io | nextree |
lib.rs | nextree |
version | 0.1.3 |
source | src |
created_at | 2022-09-07 07:19:50.254335 |
updated_at | 2022-09-07 09:28:17.646862 |
description | Multithreaded cli tool similar in use to tree, with optional logging and CSV output |
homepage | https://github.com/mcaveniathor/nextree |
repository | https://github.com/mcaveniathor/nextree |
max_upload_size | |
id | 660105 |
size | 28,444 |
Nextree is a multithreaded (leveraging parallel iterators and threadpool from the rayon crate) and cross-platform command-line utility similar in function to tree, with logging and CSV output. Presently it logs file paths, create, and modify times as reported by the filesyste
cargo install nextree
or clone this repository and run
cargo build --release && cp target/release/nextree <desired location e.g. /usr/local/bin>
Set the log level using the RUST_LOG environment variable, either by exporting it or by prepending it to the command. RUST_LOG=OFF or RUST_LOG=INFO are recommended for maximum performance, or RUST_LOG=debug for a more informative output.
USAGE:
nextree [OPTIONS] --path <PATH>
OPTIONS:
-h, --help Print help information
-o, --outfile <OUTFILE> CSV file to output to [default: out.csv]
-p, --path <PATH> Root path whose children (files and directories) we want to index
RUST_LOG=INFO nextree -p /home -o ~/Documents/nextree_out.csv