Skip to main content

Storage Analyzer & Cleanup Recommender

Project description

storageanalyser

Storage Analyzer & Cleanup Recommender for macOS and Windows.

Scans your home directory (and optionally other paths) to find large files, stale files, junk directories, build artifacts, duplicates, and old downloads. Outputs a prioritised list of cleanup recommendations with estimated space savings.

Platform-aware: automatically detects OS-specific cache locations, system directories, and generates the appropriate cleanup script (bash on macOS, PowerShell on Windows).

Installation

pip install storageanalyser

Usage

storageanalyser                           # Scan home directory
storageanalyser --top 30                  # Show top 30 recommendations
storageanalyser --duplicates              # Include duplicate detection
storageanalyser --json                    # JSON output
storageanalyser --threshold 50            # Flag files over 50 MB
storageanalyser --ignoredir node_modules  # Skip directories
storageanalyser --includedir CloudStorage # Override a default-skipped directory
storageanalyser --list-skipped            # Show directories skipped by default
storageanalyser --web                     # Launch the web interface
storageanalyser --web --port 9000         # Web interface on a custom port
storageanalyser --desktop                 # Launch as a desktop app

Scan a specific drive or folder:

# macOS
storageanalyser /Volumes/ExternalDrive

# Windows
storageanalyser D:\Data

Platform Support

Feature macOS Windows
CLI scanner Yes Yes
Web interface Yes Yes
OS-specific caches Library/Caches, .Trash, Xcode, etc. AppData/Local/Temp, CrashDumps, etc.
Cloud storage skip iCloud, Google Drive, OneDrive, Dropbox Google Drive, OneDrive, Dropbox
System dir skip .Spotlight-V100, .fseventsd, Photos Library $Recycle.Bin, System Volume Information
Cleanup script Bash (.sh) PowerShell (.ps1)
Duplicate detection Yes Yes
Google Drive integration Yes Yes
Desktop app mode Yes Yes

Desktop App

Run StorageAnalyser as a standalone desktop application with its own window:

pip install storageanalyser[desktop]
storageanalyser --desktop

Uses the system's native WebView (WebKit on macOS, WebView2 on Windows) — no Chromium bundled. The same web interface runs inside a native window that closes cleanly when you're done.

Web Interface

Launch the web UI with storageanalyser --web. Features include:

  • Live scan progress with cancel support
  • Duplicate hashing progress bar
  • Disk usage pie chart and summary cards
  • Category breakdown bar chart
  • Clickable treemap (click to jump to the recommendation)
  • Recommendations organized by category tabs with per-tab sorting
  • Short/full path toggle for readability
  • Duplicate detection with full path listing and wasted space calculation
  • Configurable skipped directories (override defaults to include cloud storage, etc.)
  • Cleanup script download for selected items (bash or PowerShell)
  • Google Drive integration and cross-environment deduplication

Screenshots

Scan form with configurable skipped directories:

Scan Form

Results summary with disk usage pie chart and summary cards:

Results Summary

Category breakdown and clickable treemap:

Category & Treemap

Recommendations organized by category tabs:

Recommendations

Duplicate detection with copy count and wasted space:

Duplicates

Skipped Directories

By default, certain directories are skipped during scans. The list is platform-specific (cloud storage, OS system directories, managed libraries, etc.). Use --list-skipped to see the defaults for your OS and --includedir to override:

storageanalyser --list-skipped
storageanalyser --includedir Music --includedir Movies

Documentation

Full documentation is available at storageanalyser.readthedocs.io.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

storageanalyser-0.1.4.tar.gz (748.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

storageanalyser-0.1.4-py3-none-any.whl (57.7 kB view details)

Uploaded Python 3

File details

Details for the file storageanalyser-0.1.4.tar.gz.

File metadata

  • Download URL: storageanalyser-0.1.4.tar.gz
  • Upload date:
  • Size: 748.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for storageanalyser-0.1.4.tar.gz
Algorithm Hash digest
SHA256 685266062fcf41105d27673168cfa90051541619950e1bfc3e96e2d63ccd13e2
MD5 fcbda2ac9c091c84059f2b96d575a9ea
BLAKE2b-256 6991cb6cf7eddb7fda5bbf0b86ac4f662d4b79226ae3c66e8efa555c56f5edd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for storageanalyser-0.1.4.tar.gz:

Publisher: publish.yml on jdrumgoole/storageanalyser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file storageanalyser-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for storageanalyser-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ac48d057ea00a5e27ba5779aceaba02dcc26f22050ff08926e6d782fadac2af7
MD5 0a4389d1cd1653be7eb1b9636790557e
BLAKE2b-256 37b1b393ae1721b85502209f9e07ae0b70ceeb0da4249d53166da094584f1ee3

See more details on using hashes here.

Provenance

The following attestation bundles were made for storageanalyser-0.1.4-py3-none-any.whl:

Publisher: publish.yml on jdrumgoole/storageanalyser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page