The fallen leaves tell a story... of a colorful file tree visualizer for the command-line.

Overview

Erdtree

A bLazInGlY fAsT, simplified version of the ancient tree command which displays a colorful depth indented listing of files with their memory sizes adjacent.

Usage

Usage:
    erdtree [options]

OPTIONS:
-d        Directory to traverse. Defaults to current working directory.
-l        Unsigned integer indicating many nested directory levels to display. Defaults to all.
-p        Comma-separated list of prefixes. Directories containing any of
          these prefixes will not be traversed. Their memory size will also be ignored.
-h        Displays help prompt.

Installation

Via Rust

  1. Make sure you have Rust and its toolchain installed.
  2. $ cargo install --git https://github.com/solidiquis/erdtree
  3. The executable should then be located in $HOME/.cargo/bin/.

Manual Installation

todo!()

Brew

todo!()

Questions you might have

Q: Why did you make this? It's totally unnecessary.

A: I had two six-hour flights and got bored.

Q: Is it any good?

A: Yes.

Q: How do you know that this is blazingly fast?

A: I wrote it in Rust.

You might also like...
A simple and secure rust command-line tool to protect your text by encrypting and decrypting it using the robust AES-256 algorithm.

Secret Keeper A simple and secure command-line tool to protect your text by encrypting and decrypting it using the robust AES-256 algorithm. Built wit

Lockbox is a command-line tool for generating and managing passwords
Lockbox is a command-line tool for generating and managing passwords

Lockbox is a command-line tool for generating and managing passwords. It uses strong encryption algorithms to securely store your passwords, so you can be sure that your data is safe.

A simple command-line application to securely store secrets using encryption

rust-secret-vault A simple yet robust command-line tool designed to safely encrypt and store your sensitive information. Harnessing the power of AES-2

Sample lightning node command-line app built on top of Ldk Node (similar to ldk-sample).

ldk-node-sample Sample lightning node command-line app built on top of Ldk Node (similar to ldk-sample ). Installation git clone https://github.com/op

The most advanced Merkle tree library for Rust

rs-merkle rs-merkle is the most advanced Merkle tree library for Rust. Basic features include building a Merkle tree, creation, and verification of Me

Sparse Merkle tree for a key-value map.

LSMTree A Rust library that implements a Sparse Merkle tree for a key-value store. The tree implements the same optimisations specified in the Libra w

Bootstrap your merkle tree.

Merkle Generator Bootstrap your merkle tree, in Rust. Table of Contents Features Installation Usage Contributing Features Merkle Tree creation Merkle

A file storage service

hashfs A file storage service How to use it? Start up the service at terminal # You can specify the storage root path and access domain when you start

A Rust binary for file encryption to multiple participants.

Kaspa-miner A Rust binary for file encryption to multiple participants. Installation From Sources With Rust's package manager cargo, you can install k

Comments
  • Sort by filesize could be a good feature

    Sort by filesize could be a good feature

    The performance of this tools is great! Amazing~

    If a sort option for this command can be added. It would be better. In many cases, we might want to find the largest file or directory. Sort function can save the time for users to check from top to button.

    For example:

    OPTIONS:

    …… -s: Sorted by file size

    opened by andyyehoo 3
  • Error when directory contains too much directories and files

    Error when directory contains too much directories and files

    $ erdtree -l 1

    thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/file_tree/tree_node.rs:48:51 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

    opened by andyyehoo 3
  • Probably more efficient to have TreeNode's location field be a Path rather than a PathBuf

    Probably more efficient to have TreeNode's location field be a Path rather than a PathBuf

    https://github.com/solidiquis/erdtree/blob/09ff686df8e95712cc5594a8c8647dc73c1aaa48/src/file_tree/tree_node.rs#L40

    TreeNode is creating a new PathBuf when it could probably just be a Path which is an unsized type and therefore must always be borrowed.

    opened by solidiquis 0
  • Regex may should be consider in the prefix exclustion

    Regex may should be consider in the prefix exclustion

    The -p options is used to exclude files or directories with some specified prefixes. But if some hidden or system files start with "." prefixes, they can't be ignored.

    I guessed the match didn't use Regex?


    [... tensorflow]$ erdtree -l 1 -p "." . (228.41 MB) ├─ CODE_OF_CONDUCT.md (5.37 KB) ├─ .pylintrc (0 B) ├─ .bazelversion (6 B) ├─ tools (4.91 KB) ├─ arm_compiler.BUILD (1.18 KB) ├─ configure.py (53.52 KB) ├─ LICENSE (15.50 KB) ├─ configure (285 B)

    opened by andyyehoo 2
Owner
Benji Nguyen
Bonfires burning bright; pumpkin faces in the night—I remember Halloween 🎃
Benji Nguyen
Cardano Command Line Interface (CLI) (Deprecated)

Deprecated Note: This repository implements supports for Cardano Byron, and will not be updated to works on Cardano Shelley and further. cardano-cli T

Input Output 87 Oct 9, 2022
Trustworthy encrypted command line authenticator app compatible with multiple backups.

cotp - command line totp authenticator I believe that security is of paramount importance, especially in this digital world. I created cotp because I

Reply 71 Dec 30, 2022
Rust command line program for Bitcoin brainwallet

brainwallet Rust command line program for Bitcoin brainwallet as implemented at https://www.bitaddress.org. To run it, first install Rust, e.g. from h

Frank Buss 3 Dec 30, 2021
The rust implementation of the Defluencer command line interface.

Defluencer CLI IPFS daemon must be running before using the CLI. Command: ipfs daemon --enable-pubsub-experiment --enable-namesys-pubsub For more info

Defluencer 7 Dec 22, 2022
A command-line tool to export FoundationDB stored protocol buffers to ClickhouseDB

fdb-ch-proto-export A command-line tool to export FoundationDB stored Protocol buffers to ClickhouseDB. Installation N/A Usage fdb-ch [command] fdb-c

Enlay 7 May 26, 2022
Easily and securely share files from the command line. A fully featured Firefox Send client.

Notice: the default Send host is provided by @timvisee (info). Please consider to donate and help keep it running. ffsend Easily and securely share fi

Tim Visée 6.3k Dec 25, 2022
Fiddi is a command line tool that does the boring and complex process of checking and processing/watching transactions on EVM compatible Blockchain.

Fiddi is a command line tool that does the boring and complex process of checking and processing/watching transactions on EVM compatible Blockchain.

Ahmad Abdullahi Adamu 7 Jan 9, 2023
A command line tool for managing financial investment portfolios written in Rust.

A command line tool for managing financial investment portfolios written in Rust. This project is the modern successor of finance. Installation You ca

Markus Zoppelt 15 Dec 21, 2022
A template for command-line Rust programs

This is a template for command-line Rust programs. Clone and run the rename script with both a lowercase and UpperCase name. In the dev profile, depen

ludios 2 Oct 3, 2022
RGB smart contracts: client-facing library & command-line for desktop and mobile

RGB smart contracts RGB is confidential & scalable client-validated smart contracts for Bitcoin & Lightning. It embraces the concepts of private & mut

RGB: scalable & private smart contracts for bitcoin & lightning 4 Mar 15, 2023