Skip to content

DiskMan by SamSeen, is a powerful, interactive disk space analyzer and management tool that helps you visualize and manage your storage usage. With its colorful, user-friendly interface, DiskMan makes it easy to identify large files and folders that are consuming your valuable disk space.

Notifications You must be signed in to change notification settings

SamSeenX/DiskMan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

78 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DiskMan V3 - Advanced Disk Space Analyzer

DiskMan Logo License Python Platform

DiskMan V3 is a powerful, feature-rich disk space analyzer that helps you visualize, analyze, and manage storage usage with an intuitive terminal interface and interactive web dashboard.

๐Ÿ†• What's New in V3

Web Dashboard - The biggest update yet! Launch a beautiful interactive web UI with the web command:

  • ๐Ÿ“Š Interactive pie chart with drill-down navigation
  • ๐Ÿ–ผ๏ธ Image thumbnails and video previews
  • ๐Ÿ” Search, duplicates, and cache cleaner
  • ๐Ÿ“ Navigate parent folders with auto-rescan
  • ๐Ÿ˜„ Fun loading messages (just like the CLI!)

๐Ÿ“ธ Screenshots

Welcome Screen

Welcome Screen - Start scanning with a simple command

CLI Interface

CLI Interface - Navigate, search, and manage your files

Web Dashboard

Web Dashboard - Interactive pie charts, file previews, and more!

โœจ Features

  • Smart Caching - One deep scan, instant navigation
  • ๐ŸŒ Web Dashboard - Interactive browser UI with pie charts, image previews, and video playback
  • Deep Search - Find files across all subfolders
  • Largest Files - Instantly see biggest space hogs
  • System Cache Cleaner - Clear common cache folders
  • Duplicate Finder - Identify duplicate files
  • Bookmarks - Save favorite directories
  • Safe Deletion - Move to Trash instead of permanent delete
  • Export Reports - CSV export for analysis

๐Ÿš€ Quick Install (macOS)

๐Ÿบ Homebrew (Recommended)

brew install SamSeenX/apps/diskman

Update via Homebrew

brew update && brew upgrade diskman

๐Ÿ“ฆ Other Methods

One-Liner Install (macOS/Linux)

git clone https://github.com/SamSeenX/DiskMan.git ~/.diskman && cd ~/.diskman && chmod +x install.sh && ./install.sh

Update Existing Installation

(cd ~/.diskman && git reset --hard HEAD && git pull && chmod +x install.sh && ./install.sh) && echo "โœ“ Updated to latest version! Run: diskman"

Now just type diskman from anywhere!

Manual Install

# 1. Clone
git clone https://github.com/SamSeenX/DiskMan.git
cd DiskMan

# 2. Run the install script (Recommended)
./install.sh

# OR Manual Setup:
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 DiskMan.py

Windows

git clone https://github.com/SamSeenX/DiskMan.git
cd DiskMan
pip install -r requirements.txt
python DiskMan.py

๐ŸŽฎ Commands

Navigation

Command Action
# Enter folder by number
. Jump to scan root
.. / ..3 Go up 1 / 3 levels
~ Home directory
g /path Go to specific path
p / n Previous / Next page

File Actions

Command Action
o # Open in Finder/Explorer
d # Delete to Trash
D # Permanent delete
m # /path Move to path
c # /path Copy to path

View Options

Command Action
f text Filter current folder
F text Deep search all subfolders
h Toggle hidden files
s Cycle sort: Size โ†’ Name โ†’ Date
l 25 Set items per page (5-50)
r Rescan directory

Tools

Command Action
web Launch interactive web dashboard
b Manage bookmarks
b+ Bookmark current folder
e Extension statistics
top Show largest files
dup Find duplicates
clean System cache cleaner
x Export to CSV
? Full help page

Multi-Select

Select multiple items with:

  • d 1,3,5 - Items 1, 3, and 5
  • d 1-5 - Items 1 through 5
  • m 1-3,7 /tmp - Move items 1, 2, 3, 7

๐Ÿ–ฅ๏ธ Display Icons

Icon Meaning
โ— Cached (fast)
โ—‹ Fresh scan
๐Ÿ‘ Hidden files ON
โ—Œ Hidden files OFF
[S] Sort by Size
[N] Sort by Name
[D] Sort by Date
โ—‰ new < 3 months old
โ—‰ mid 3-12 months old
โ—‰ old > 1 year old

๐Ÿ“ Project Structure

DiskMan/
โ”œโ”€โ”€ DiskMan.py      # Main V2 entry point
โ”œโ”€โ”€ DiskMan.py        # Legacy V1 (still works)
โ”œโ”€โ”€ lib/           # V2 modules
โ”‚   โ”œโ”€โ”€ cache.py      # Smart caching system
โ”‚   โ”œโ”€โ”€ file_operations.py
โ”‚   โ”œโ”€โ”€ ui.py         # User interface
โ”‚   โ”œโ”€โ”€ utils.py      # Utilities
โ”‚   โ”œโ”€โ”€ bookmarks.py  # Bookmarks system
โ”‚   โ””โ”€โ”€ system_cache.py # Cache cleaner
โ””โ”€โ”€ lib/              # Legacy V1 modules

โš ๏ธ Platform Compatibility

Tested on: Apple M1 MacBook (macOS)

Linux and Windows should work fine, but haven't been fully tested. If you encounter any issues on your platform, please open an issue and I'll look into it!

โ˜• Support

If DiskMan helped you, consider supporting:

Buy Me a Coffee

๐Ÿ“ License

MIT License - see LICENSE file for details.


Created with โค๏ธ by SamSeen

About

DiskMan by SamSeen, is a powerful, interactive disk space analyzer and management tool that helps you visualize and manage your storage usage. With its colorful, user-friendly interface, DiskMan makes it easy to identify large files and folders that are consuming your valuable disk space.

Resources

Stars

Watchers

Forks

Packages

No packages published