Skip to content

webyep-art/cmdirstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmdirstat

A fast, interactive terminal disk usage analyzer for Windows and Linux, written in Rust.

It scans directories in parallel, visualizes storage distribution with progress bars, and allows you to search and delete files or folders directly in the terminal interface.

Usage

Pre-compiled Binaries

If you downloaded the binary from the releases page:

  • Windows: Run in terminal/PowerShell:
    .\cmdirstat.exe
  • Linux: Make executable and run:
    chmod +x cmdirstat
    ./cmdirstat
    (Note: Pre-compiled Linux binary requires a glibc-based distribution like Ubuntu, Debian, Fedora, or Arch. For musl-based systems like Alpine, build from source.)

Building from Source

Make sure you have Rust installed.

Linux / WSL

Install build tools:

sudo apt update && sudo apt install -y build-essential

Build and run:

cargo build --release
./target/release/cmdirstat

Windows

Build and run (PowerShell / CMD):

cargo build --release
.\target\release\cmdirstat.exe

Controls

  • Up / k - Navigate up
  • Down / j - Navigate down
  • Enter / Right / l - Enter folder or select drive
  • Backspace / Left / h - Go back
  • d / Delete - Delete selected file or folder (requires confirmation)
  • / - Search / filter
  • Tab / s - Cycle sort column
  • Space / r - Toggle sort direction
  • ? / F1 - Help menu
  • q / Esc - Quit / close modal

License

MIT

Packages

 
 
 

Contributors

Languages