Files
drinfo/README.md
T
Lennart Martens 589e1d7b32 Added -j option for JSON output
Added -n option to disable color output
Added -s option to sort drives by size, usage, mount point, or name
Refactored code
2025-11-22 17:56:12 +01:00

1.3 KiB

drinfo - drive info

logo

A lightweight command-line tool to monitor disk usage on Linux systems with beautiful colored progress bars.

Features

  • Physical Drive, Network (cloud) Drive Detection: List all physical and network drives (also cloud drives)
  • Colorful Progress Bars: Visual representation of disk usage with gradient colors (green → yellow → red)
  • Human-Readable Sizes: Displays sizes in B, KB, MB, GB, TB format
  • Terminal Responsive: Adapts to terminal width for optimal display
  • Detailed Information: Shows mount point, filesystem type, device path, UUID, label, mount options, used, available and inodes + SMART status (only as root)
  • JSON Output: Export drive information in JSON format for easy parsing
  • Sorting: Sort drives by size, usage, mount point, or name
  • No Color Mode: Disable ANSI colors for scripts or logs

Usage

drinfo [OPTIONS]

Options

  • -h, --help: Show help message
  • -v, --version: Show program version
  • -j, --json: Output in JSON format
  • -n, --no-color: Disable color output
  • -s, --sort TYPE: Sort drives by TYPE (size, usage, mount, name)

Build executable: drinfo

make

install with man page

sudo make install

Uninstall

sudo make uninstall

Screenshot

screenshot