davidwow1024/disk-map
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.
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.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
À propos
A high-performance Rust CLI for visualizing directory structures and analyzing disk usage with .gitignore awareness.
Outils de développementREADME.md
Originaldisk-map
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_COLORSenvironment 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.