SSD

cull – reclaim precious disk space

In the past few months the statement disk space is cheap and plentiful no longer applies. While large mechanical disks haven’t rocketed in price the same cannot be said for NVMe disks, mostly due to huge demands from AI.

Linux distributions come supplied with utilities to explore disk usage. For example, du is a popular tool used to estimate file space usage; space being used under a particular directory or files on a file system.

du shows directories which are taking up space. And you can combine du with other command-line utilities such as grep and sort to make the output more meaningful. But if you want a more visual experience, you don’t need to leave the terminal. One interesting alternative is cull, an interactive TUI disk space analyzer.

Installation

I evaluated cull using Manjaro, an Arch-based distro, as well as Ubuntu.

For Manjaro (and other Arch-based distros) there’s a package in the Arch User Repository. I installed that package using Pamac (Manjaro’s GUI package manager).

Installing cull

Installation proceeds without any issues on my test system.

In Operation

Here’s what you see when you issue the command cull.

cull in action

The program has traversed my home directory and reports the directories which are consuming the most disk space. Even with its TUI, you still get a good visual representative of what’s eating your disk.

Let’s look at the .cache directory.

.cache directory

Yikes, the yay directory is consuming over 9GB. Yay (Yet Another Yogurt) is a popular, Go-written AUR helper for Arch Linux that streamlines installing, searching, and updating both official and Arch User Repository (AUR) packages.

At the bottom of the screen are keyboard shortcuts. Press the d key and you can trash files or directories (the program prompts you to verify you want to delete). You can select multiple files at one time too.

There are filtering of options, the ability to sort (by size, name, creation date or last updated date), toggle hidden files, as well as a quick look preview (the latter only works with macOS).

Summary

cull is a great tool to help clean up your system. It’s extremely quick in traversing large file systems (including mechanical drives) and identify whales that are hogging disk space. It offers background scanning and caching too which helps improve the program’s fluidity.

If you like TUI software and want to root out disk hogs, you’ll find cull very useful. It gets my recommendation.

Here are the program’s shortcuts.

cull keyboard shortcuts

There are lots of other console-based software that helps you manage your disk usage. Check out my roundup of du replacements. Or if you prefer GUI here’s my GUI-specific roundup.

Website: github.com/legostin/cull
Support:
Developer: legostin
License: MIT License

cull is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

du alternativesProgramming LanguageLicense
dustRustApache License 2.0
dufGoMIT License
DucCGNU Lesser General Public License v3
NcduCGNU GPL v2.0 License
gduGo MIT License
cullGoMIT License
duaRustMIT License
erdtreeRustMIT License
pduRustApache License 2.0
vizexPythonMIT License
goduGo MIT License
dutreeRustGNU General Public License v3
spaceRustMIT License
daryaRustGNU General Public License v3.0
diskusRustMIT License or Apache License 2.0
mcduRustMIT License
dirstat-rsRustMIT License
diskonautRustMIT License
bonsaiC++GNU General Public License v3.0
diskardRustMIT License or Apache License 2.0
cduPerlGNU General Public License v2.0
tduGoGNU General Public License v2
duvizPythonMIT License
dutCGNU General Public License v3.0
whalespotterRustMIT License
snRustBSD 3-Clause “New” or “Revised” License

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Strangely Brown
Strangely Brown
3 months ago

cull is surprisingly good.