AGENT SKILL

dutree

a tool to analyze disk usage as a colored tree

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
dutree
description
a tool to analyze disk usage as a colored tree

03 SKILL.md 正文

dutree Plugin

dutree is a fast, Rust-based command-line tool that displays disk usage as a colored tree, combining the functionality of du and tree.

Commands

  • dutree <resource> <action> — Execute dutree commands
  • dutree self version — Print dutree version
  • dutree _ _ — Passthrough to dutree CLI

Usage

Analyze current directory:

dutree

Show deeper tree (default depth is 1):

dutree -d 2 /path/to/dir

Aggregate small files (hide files smaller than given size):

dutree -a 10M

Show summary equivalent to -d1 -a1M:

dutree -s

Report real disk usage instead of file size:

dutree -u

Skip directories for a fast local overview:

dutree -f

Exclude directories by name:

dutree -x target

Compare multiple directories:

dutree /path/to/dir1 /path/to/dir2

Options

Flag Description
-d, --depth [DEPTH] Show directories up to depth N (default 1)
-a, --aggr [N[KMG]] Aggregate smaller than N B/KiB/MiB/GiB (default 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

Or download a prebuilt binary from the releases page.

04 同仓库更多 Skills