Repository navigation
OMG (Oh My Gigabytes) 0.2.1: see where your disk space went and take it back. omg scans file metadata into a private local index, explains which developer caches, build folders, old toolchains and leftovers take space, and deletes what you choose after you confirm.
Development preview. Delete is permanent and not qualified on any platform. Read Deleting files before you use it. Nothing is uploaded.
What's new since 0.2.0
- Big old downloads, copies, models and developer data go to OMG Trash. After a scan, OMG now also adds these when they are unchanged for 30 days, on every platform: installers in
~/Downloadsfrom 10 MB and archives from 100 MB, older copies of release folders from 10 MB (the newest copy is kept), downloaded ML models from 1 GB, and developer data such as Simulator devices, Android system images and emulators, Vagrant boxes, .NET SDKs and editor caches from 1 GB. Disk images, Xcode archives and conda environments stay listed only. Nothing is deleted until you confirm, and auto delete takes these only if you also allowed repositories, application data and toolchains. - Secret files are refused. Files such as
.netrc,.pypirc,.yarnrc.yml,credentials.json,client_secret.json, the gh, gcloud, Terraform and Kaggle token files,.env.localand other.env.*files, looseid_rsa/id_ed25519keys,.vault-token,.s3cfg,.htpasswd,~/.password-storeand key stores (.p12,.pfx,.jks,.keystore,.kdbx,.ppk) could be added to OMG Trash and deleted. They are now refused as a "credential or key file", on their own and inside an ordinary folder. A whole old project still goes with them: a Git repository untouched for 30 days, an old clone OMG adds to OMG Trash (an untracked.env.localor key no longer keeps it out), and a folder outside Git with a project file such aspackage.jsonand nothing changed for 30 days, which now gets a warning that its env files and keys go with it. Caches andnode_modulesstay deletable too. - Application data is listed, not suggested. An application's folder unchanged for 5 months is now listed in Findings only from 1 GB (was 50 MB), and a scan no longer adds it to OMG Trash. It holds the application's own settings and files, so it is deleted only if you add it yourself. Folders a scan added with an earlier version leave OMG Trash on the next scan that adds suggestions; ones you added yourself stay.
omg cleanno longer accepts theunused_appscategory. - Standard folders are refused on Windows and Linux too. In 0.2.0, Browse offered to delete a whole
AppData,Documents,Desktop,~/.configor~/.local/shareafter one confirmation, which would remove every app's settings and sign-ins. These folders are now refused as on macOS ("a standard Windows folder; choose what is inside it instead"); what is inside them is still judged item by item. - Git Bash on Windows. In Git Bash's default mintty window the interface started but ignored the arrow keys and printed keys such as
2on screen. It now says so and suggestswinpty omg.cmd, Git Bash inside Windows Terminal, or PowerShell; commands such asomg statusandomg scanwork there as before. - Interface. The "terminal too small" message wraps instead of being cut off, wrapped lines in dialogs keep their margin, and the header counts entries (files and folders) instead of calling them files.
Install
npm install --global oh-my-gigabytes
omgNeeds Node 22 or newer. The first run scans your home folder (omg scan --root ~/code scans any other folder). Press 1 to 5 to switch views, ? for all keys, q to quit.
To uninstall, run omg auto-delete off and omg schedule disable (macOS, Windows) or omg service uninstall (Linux) first, then npm uninstall --global oh-my-gigabytes.
Platforms
| System | Scans | Deletes on |
|---|---|---|
| Linux x86_64, ARM64 (glibc 2.28+, kernel 5.6+) | ext4, XFS, Btrfs, tmpfs | ext4, Btrfs, tmpfs |
| Windows 11 x64 | NTFS, ReFS | NTFS |
| macOS 15+ on Apple silicon | APFS, HFS+, exFAT, FAT | APFS |
The signed macOS package was installed and tested on an Apple silicon Mac, including delete scenarios. The index format is unchanged from 0.2.0, so an upgrade keeps your index. Every target also runs the full test suite on hosted runners. No platform is certified.
Verify
Every launch checks the native binary against an Ed25519-signed manifest and refuses one that does not match. The release key fingerprint is unchanged since 0.1.0:
01deacfe588025e045419b57c4f39abd9f151294c8310e0a0dd28a18c9d9adc0
It must match KEY-FINGERPRINT.txt below. To install a downloaded file offline:
shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing
npm install --global --ignore-scripts --offline ./oh-my-gigabytes-offline-<target>-0.2.1.tgzFiles
| File | What it is |
|---|---|
oh-my-gigabytes-offline-<target>-0.2.1.tgz |
Everything for one system in a single file, for offline installs. Targets: darwin-arm64, linux-x64-gnu, linux-arm64-gnu, win32-x64 |
oh-my-gigabytes-0.2.1.tgz and oh-my-gigabytes-<target>-0.2.1.tgz |
The packages published to npm |
SHA256SUMS |
Checksums of every package |
release-public.pem, KEY-FINGERPRINT.txt |
The public release key and its fingerprint |
dependency-inventory.cdx.json |
Software bill of materials (CycloneDX) |
Not in this release
Moving to the system trash (delete is permanent, with no undo), a background scan service on macOS or Windows (a daily scan-only job is available), Apple notarization, Windows Authenticode signing, Intel Macs, Windows on Arm and musl Linux.
Known issues
- Disk images (
.dmg) are never offered for deletion, even old installers in Downloads, because a.dmgcan also be your own encrypted image. Delete old ones in Finder. - Freed space can be less than shown when hard links, APFS clones or snapshots share data. "Unused for 5 months" goes by when files last changed, not when an app was last opened.
Report a problem
Bugs: Issues. Security problems: privately, as described in SECURITY.md.
MIT OR Apache-2.0.