💾 dysk-mac

The ultimate command-line disk utility for macOS

🚀 Quick Installation

Install with Homebrew

brew tap nudelx/dysk-mac
brew install dysk-mac

Then run: dysk-mac

✨ Features

📊 Comprehensive Disk Info

View detailed information about all mounted disks with beautiful emoji-enhanced output

🔍 Smart Detection

Automatically detects SSD vs HDD, external drives, and removable media

📈 Advanced Filtering

Filter disks based on usage percentage, free space, disk type, and more

📋 Multiple Formats

Display as beautiful table, JSON, or CSV for data analysis

🚨 Usage Warnings

Visual indicators for high disk usage (⚠️ for >70%, 🚨 for >90%)

🔌 External Drive Support

Special handling for external SSDs and hard drives

🎯 Demo Output

┌────────────────┬────────────────────────────┬──────────────┬──────────────┬───────────┬──────────────┬─────────┬─────────────┐ │ 💾 Disk │ 📁 Mount │ 📊 Size (GB) │ 💻 Used (GB) │ 📈 Used % │ 💚 Free (GB) │ ⚡ Type │ 🔌 External │ ├────────────────┼────────────────────────────┼──────────────┼──────────────┼───────────┼──────────────┼─────────┼─────────────┤ │ /dev/disk3s1s1 │ / │ 460.4 │ 10.5 │ ✅ 5% │ 249.1 │ ⚡ SSD │ 🖥️ No │ │ /dev/disk4s2 │ Samples │ 953.7 │ 166.2 │ ✅ 18% │ 787.5 │ ⚡ SSD │ 🔌 Yes │ └────────────────┴────────────────────────────┴──────────────┴──────────────┴───────────┴──────────────┴─────────┴─────────────┘

🔧 Usage Examples

# Basic usage
dysk-mac

# JSON output
dysk-mac --json

# Filter high usage disks
dysk-mac --filter "usedPercent > 80"

# Show only external drives
dysk-mac --filter "external"

# Sort by free space
dysk-mac --sort free