Thanks to visit codestin.com
Credit goes to github.com

Skip to content

andeh575/rdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdu: a du ASCII visualizer in Rust

build status rather rusty

Copyright © 2018 Andrew Graham, Joshua Sleeper, Anthony Spurgeon

This is a new implementation of duvis, an xdu replacement for visualizing du disk usage output, written in Rust. duvis had an unfortunate dependency on gtk+-3.0 for the graphical mode and rdu seeks to limit external dependencies to ensure cross-platform operability.

Building

rdu can (hypothetically) be fine building with the latest stable Rust:

# Ensure Rust is up-to-date
rustup update

# Build
cargo build

Testing

rdu comes with some unit tests that can be executed as follows:

cargo test

Usage

rdu consumes the output of du, which is read via standard input (so a pipe or file output are both acceptable.)

du | rdu
cat du-output.txt | rdu

Options

  • -p, --pre-order: Enable pre-order sorting
  • -v, --verbose: Enable verbose output
  • -d, --debug: Enable debug printing

License

This software provided under the MIT License.

About

No description or website provided.

Topics

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages