# nextree [![Rust Report Card](https://rust-reportcard.xuri.me/badge/github.com/mcaveniathor/nextree)](https://rust-reportcard.xuri.me/report/github.com/mcaveniathor/nextree) [![Crates.io](https://img.shields.io/crates/v/nextree)](https://crates.io/crates/nextree) [![Rust](https://github.com/mcaveniathor/nextree/actions/workflows/rust.yml/badge.svg)](https://github.com/mcaveniathor/nextree/actions/workflows/rust.yml) [![Crates.io](https://img.shields.io/crates/l/toboggan)](https://lbesson.mit-license.org) Nextree is a multithreaded (leveraging parallel iterators and threadpool from the [rayon](https://github.com/rayon-rs/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 ## Installation `cargo install nextree` or clone this repository and run `cargo build --release && cp target/release/nextree ` ## Usage 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 OPTIONS: -h, --help Print help information -o, --outfile CSV file to output to [default: out.csv] -p, --path Root path whose children (files and directories) we want to index ``` ### Example `RUST_LOG=INFO nextree -p /home -o ~/Documents/nextree_out.csv`