Skip to content
Proyectos

davidwow1024/disk-map has 7 GitHub stars and 0 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-20 13:01 UTC. Last push 2026-11-15.

Cómo se miden estas cifras

What you can do

  • Multi-threaded Performance: Leverages all available CPU cores to traverse large directory trees rapidly.
  • Smart Filtering: Automatically respects .gitignore, .git/info/exclude, and hidden file rules out of the box.
  • Flexible Layouts: Choose between a visual tree structure, a compact du-style summary, or a detailed table view.
  • Accurate Metrics: Reports disk usage in bytes, blocks, or human-readable formats (KB, MB, GB), supporting both logical and physical disk usage.

Crecimiento de estrellas medido

in 24h
0
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

Acerca de

A high-performance Rust CLI for visualizing directory structures and analyzing disk usage with .gitignore awareness.

Herramientas de desarrollo

README.md

Original

disk-map

Crates.io License: MIT Build Status

A high-performance Rust CLI for visualizing directory structures and analyzing disk usage with .gitignore awareness.

disk-map is a modern, cross-platform, and multi-threaded filesystem utility designed to help developers and system administrators understand disk consumption quickly. It combines the functionality of tree, du, and find into a single, efficient tool that respects your project's ignore rules by default.

Features

  • Multi-threaded Performance: Leverages all available CPU cores to traverse large directory trees rapidly.
  • Smart Filtering: Automatically respects .gitignore, .git/info/exclude, and hidden file rules out of the box.
  • Flexible Layouts: Choose between a visual tree structure, a compact du-style summary, or a detailed table view.
  • Accurate Metrics: Reports disk usage in bytes, blocks, or human-readable formats (KB, MB, GB), supporting both logical and physical disk usage.
  • Advanced Search: Filter files and directories using glob patterns or regular expressions.
  • Cross-Platform: Runs natively on Linux, macOS, and Windows.
  • Colorized Output: Supports LS_COLORS environment variables for syntax highlighting and file type differentiation.
  • Granular Control: Sort results by size, name, or modification time with configurable depth limits.

Installation

The easiest way to install disk-map is via cargo, the Rust package manager.

cargo install disk-map

If you prefer a pre-built binary, check the Releases page for your operating system.

Usage

Basic Tree View

Visualize the current directory structure while ignoring files tracked by .gitignore.

disk-map .

Disk Usage Analysis

Show a summary of disk usage per directory, sorted by size in descending order, limited to a depth of 3 levels.

disk-map . --sort size --depth 3

Filter Specific Files

Find all Rust source files and display their structure.

disk-map . --glob "*.rs"

Configuration

disk-map supports a configuration file for persistent settings. By default, it looks for a TOML file at ~/.config/disk-map/config.toml.

Example configuration:

[defaults]
depth = 3
sort_by = "size"
sort_order = "desc"
show_hidden = false
respect_gitignore = true

[output]
use_colors = true
show_icons = true

License

This project is licensed under the MIT License.