Storage Analyzer & Cleanup Recommender
Project description
storageanalyser
macOS Storage Analyzer & Cleanup Recommender.
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.
Installation
uv pip install -e ".[dev]"
Usage
storageanalyser # Scan home directory
storageanalyser /Volumes/Data # Scan a specific path
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
Web Interface
Launch the web UI with storageanalyser --web. Features include:
- Live scan progress with cancel support
- 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
- Google Drive integration and cross-environment deduplication
Screenshots
Scan form with configurable skipped directories:
Results summary with disk usage pie chart and summary cards:
Category breakdown and clickable treemap:
Recommendations organized by category tabs:
Duplicate detection with copy count and wasted space:
Skipped Directories
By default, certain directories are skipped during scans (cloud storage, macOS system
directories, Photos library, etc.). Use --list-skipped to see them and --includedir
to override:
storageanalyser --list-skipped
storageanalyser --includedir Music --includedir Movies
Development
uv sync --extra dev
uv run python -m invoke test.run
uv run python -m invoke docs.build
Documentation
Full documentation is in the docs/ directory. Build with Sphinx:
uv run python -m invoke docs.build
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file storageanalyser-0.1.1.tar.gz.
File metadata
- Download URL: storageanalyser-0.1.1.tar.gz
- Upload date:
- Size: 745.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b08bf095534199268e9558ea907872ef6692d07e4bf1b4744511fefa149274
|
|
| MD5 |
b957645bba4b1b80967f90375b1958fc
|
|
| BLAKE2b-256 |
47ea98e7af8a76433daaaba90053eb6c68ddf60664e49e95285b0ef8f1c103ab
|
Provenance
The following attestation bundles were made for storageanalyser-0.1.1.tar.gz:
Publisher:
publish.yml on jdrumgoole/storageanalyser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
storageanalyser-0.1.1.tar.gz -
Subject digest:
91b08bf095534199268e9558ea907872ef6692d07e4bf1b4744511fefa149274 - Sigstore transparency entry: 1203322174
- Sigstore integration time:
-
Permalink:
jdrumgoole/storageanalyser@99b60fa8e7eacc0ece835865844dbedbd732127e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/jdrumgoole
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@99b60fa8e7eacc0ece835865844dbedbd732127e -
Trigger Event:
release
-
Statement type:
File details
Details for the file storageanalyser-0.1.1-py3-none-any.whl.
File metadata
- Download URL: storageanalyser-0.1.1-py3-none-any.whl
- Upload date:
- Size: 54.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71fa0d639d5e7dffdb19d403f740f33a2a0ce3b8911fffb51a0da97b2a1019cd
|
|
| MD5 |
3f0af5520ebf1f8e2414f8213bf1bf22
|
|
| BLAKE2b-256 |
b81a503bf6ea28956bab179eacc3f683413c3ef86e41e983ba77f56ceb36ed8b
|
Provenance
The following attestation bundles were made for storageanalyser-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on jdrumgoole/storageanalyser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
storageanalyser-0.1.1-py3-none-any.whl -
Subject digest:
71fa0d639d5e7dffdb19d403f740f33a2a0ce3b8911fffb51a0da97b2a1019cd - Sigstore transparency entry: 1203322175
- Sigstore integration time:
-
Permalink:
jdrumgoole/storageanalyser@99b60fa8e7eacc0ece835865844dbedbd732127e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/jdrumgoole
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@99b60fa8e7eacc0ece835865844dbedbd732127e -
Trigger Event:
release
-
Statement type: