Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nachoparker/dutree
a tool to analyze file system usage written in Rust
https://github.com/nachoparker/dutree
filesystem rust
Last synced: 5 days ago
JSON representation
a tool to analyze file system usage written in Rust
- Host: GitHub
- URL: https://github.com/nachoparker/dutree
- Owner: nachoparker
- License: gpl-3.0
- Created: 2018-03-25T15:59:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T08:44:36.000Z (over 2 years ago)
- Last Synced: 2024-10-06T09:47:55.251Z (about 1 month ago)
- Topics: filesystem, rust
- Language: Rust
- Size: 1.44 MB
- Stars: 819
- Watchers: 20
- Forks: 41
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-tools - dutree
- awesome-starred - nachoparker/dutree - a tool to analyze file system usage written in Rust (rust)
README
# dutree
a tool to analyze file system usage written in Rust![Example](resources/dutree_featured.png)
# Features
- coloured output, according to the LS_COLORS environment variable.
- display the file system tree
- ability to aggregate small files
- ability to exclude files or directories
- ability to compare different directories
- fast, written in RustMore details at [ownyourbits.com](https://ownyourbits.com/2018/03/25/analize-disk-usage-with-dutree).
# Usage
```
$ dutree --help
Usage: dutree [options] [..]Options:
-d, --depth [DEPTH] show directories up to depth N (def 1)
-a, --aggr [N[KMG]] aggregate smaller than N B/KiB/MiB/GiB (def 1M)
-s, --summary equivalent to -da, or -d1 -a1M
-u, --usage report real disk usage instead of file size
-b, --bytes print sizes in bytes
-f, --files-only skip directories for a fast local overview
-x, --exclude NAME exclude matching files or directories
-H, --no-hidden exclude hidden files
-A, --ascii ASCII characters only, no colors
-h, --help show help
-v, --version print version number
```# Installation
```
cargo install dutree
```There's also standalone binaries for Linux in the [Releases section](https://github.com/nachoparker/dutree/releases)
## Arch Linux
You can install [the AUR package](https://aur.archlinux.org/packages/dutree/)
with an AUR helper like `pacaur`, or manually:```bash
git clone https://aur.archlinux.org/dutree.git
cd dutree
makepkg -si
```## Fedora
You can install `dutree` from the official Fedora repositories:
```sh
$ sudo dnf -y install dutree
```