Unhog
Reclaim space on your disk hogged by OneDrive, Dropbox, SharePoint offline files.
Unhog draws a SpaceMonger-style treemap of the files in a cloud-synced folder that actually occupy local disk space. "Files On-Demand" keeps most files online-only; Unhog shows only the hydrated ones, so you can see where the local space goes and free it up.
The treemap fills in while the folder is being scanned, so large folders can be explored right away, with a progress bar showing how far the scan has got. Optionally the free space on the drive is drawn next to the folder, on the same scale, to show how much the local copies matter.
Download
Download Unhog.zip (latest release)
Requires Windows 10 or 11. No installation needed. All releases, with release
notes, are listed on the releases page.
Each release also offers Unhog.exe, the same program packed into a single
file; it is handy for copying around, but Windows Defender is more likely to
mistrust it, so the zip is the recommended download.
The files are not code-signed. When you run Unhog the first time, Windows SmartScreen may show "Windows protected your PC". Click More info, then Run anyway. If Defender removes the file as a suspected threat instead (a false positive that new unsigned programs sometimes trigger), open Windows Security, Protection history, find the entry and choose Restore or Allow.
Run
Unzip Unhog.zip anywhere, for example into your Documents or
Downloads folder. This creates a folder named Unhog. Open it and double-click
Unhog.exe. It scans your OneDrive folder and shows the treemap.
Keep Unhog.exe together with the _internal folder next to it; the program
does not run if the exe is copied out on its own. To put it on the desktop or
Start menu, right-click Unhog.exe and create a shortcut.
To scan a different folder, use the Browse... button, or start it from a command prompt with the folder as argument:
Unhog.exe D:\Other
Install with pip
If Python 3.9 or later is installed, Unhog can also be installed from PyPI instead of downloading the zip:
pip install unhog
unhog
or, to keep it in its own environment, pipx install unhog. The unhog
command takes the same optional folder argument as the exe. Windows Defender
and SmartScreen have nothing to say about this route, since no unsigned exe is
involved.
Freeing up space
Unhog only shows where the space goes; it does not delete or change anything. To free the space a file or folder uses, right-click it in Unhog and choose Open folder in Explorer (the item is selected there), then in Explorer right-click it and choose Free up space. The file stays in the cloud and is downloaded again when you open it. Back in Unhog, right-click the folder and choose Rescan to see the result without scanning everything again.
How to use
Hover a rectangle for details, double-click a folder to zoom in, right-click for options. The toolbar filters by modification time, size and local storage. All controls and settings are explained in USAGE.md.
How it works
Unhog asks Windows which files in the folder are online-only placeholders and which are actually present on disk. It reads only the directory listing and never opens files, so scanning does not download anything.
It is tested with OneDrive, OneDrive for Business (SharePoint), and Dropbox but it should be compatible with other cloud storage providers as well.
Privacy
Unhog runs entirely on your PC, does not connect to the internet, and does not send any information anywhere.
For developers
Running from source, tests, building the exe and making releases are described in DEVELOPMENT.md.
License
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 unhog-0.5.0.tar.gz.
File metadata
- Download URL: unhog-0.5.0.tar.gz
- Upload date:
- Size: 60.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfb940da1da7676c137b1ed8d6a61033f4f91dc89a90089e3c63eb496c69f9ad
|
|
| MD5 |
c2aaef4cf10d78ea452eda9cda7c1e69
|
|
| BLAKE2b-256 |
18d27673e182c23846958f50125cc9714a1d16701d83a81c9265b64d2b8f1b18
|
Provenance
The following attestation bundles were made for unhog-0.5.0.tar.gz:
Publisher:
release.yml on lassoan/unhog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unhog-0.5.0.tar.gz -
Subject digest:
dfb940da1da7676c137b1ed8d6a61033f4f91dc89a90089e3c63eb496c69f9ad - Sigstore transparency entry: 2765161821
- Sigstore integration time:
-
Permalink:
lassoan/unhog@57272c6e7c52ef97e43d0d8f79a701421a32700f -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/lassoan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@57272c6e7c52ef97e43d0d8f79a701421a32700f -
Trigger Event:
push
-
Statement type:
File details
Details for the file unhog-0.5.0-py3-none-any.whl.
File metadata
- Download URL: unhog-0.5.0-py3-none-any.whl
- Upload date:
- Size: 41.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f53cc943ffdc7980d2723c21d92a129fa6fa4ac6d166312f39aa6826b50644f
|
|
| MD5 |
ab76f4c8b3c86dd947d907cf9c7b4d1d
|
|
| BLAKE2b-256 |
d1357e550fe101bae4d17d9511f06c6a615d78239ab175f34472a3c8cd5b3230
|
Provenance
The following attestation bundles were made for unhog-0.5.0-py3-none-any.whl:
Publisher:
release.yml on lassoan/unhog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unhog-0.5.0-py3-none-any.whl -
Subject digest:
6f53cc943ffdc7980d2723c21d92a129fa6fa4ac6d166312f39aa6826b50644f - Sigstore transparency entry: 2765161868
- Sigstore integration time:
-
Permalink:
lassoan/unhog@57272c6e7c52ef97e43d0d8f79a701421a32700f -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/lassoan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@57272c6e7c52ef97e43d0d8f79a701421a32700f -
Trigger Event:
push
-
Statement type: