All Projects → viktomas → Godu

viktomas / Godu

Licence: mit
Simple golang utility helping to discover large files/folders.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Godu

Unburden Home Dir
Automatically unburden $HOME from caches, etc. Useful for $HOME on SSDs, small disks or slow NFS homes. Can be triggered via an hook in /etc/X11/Xsession.d/.
Stars: ✭ 48 (-87.03%)
Mutual labels:  disk-space
Xcode Clean.sh
Bash script freeing up disk space by removing Xcode generated data
Stars: ✭ 164 (-55.68%)
Mutual labels:  disk-space
check-disk-space
Light multi-platform disk space checker without third-party for Node.js
Stars: ✭ 55 (-85.14%)
Mutual labels:  disk-space
Bulk Crap Uninstaller
Remove large amounts of unwanted applications quickly.
Stars: ✭ 1,212 (+227.57%)
Mutual labels:  disk-space
Diskover Web
Web file manager, disk space usage, storage search engine and file system analytics for diskover
Stars: ✭ 121 (-67.3%)
Mutual labels:  disk-space
yaf
Yet another system fetch that is minimal and customizable
Stars: ✭ 23 (-93.78%)
Mutual labels:  disk-space
Diskonaut
Terminal disk space navigator 🔭
Stars: ✭ 856 (+131.35%)
Mutual labels:  disk-space
Luminous
Luminous provides you a lot of information about the system and a lot of handy methods to quickly get useful data on the iOS platform.
Stars: ✭ 298 (-19.46%)
Mutual labels:  disk-space
Docker Registry Manifest Cleanup
Cleans up docker registry by removing untagged manifests from the registry
Stars: ✭ 127 (-65.68%)
Mutual labels:  disk-space
diskspace
macOS command line tool to return the available disk space on APFS volumes
Stars: ✭ 123 (-66.76%)
Mutual labels:  disk-space
Dfc
Report file system space usage information with style (mirror repository)
Stars: ✭ 84 (-77.3%)
Mutual labels:  disk-space
Sweep
Reduce the disk usage of your projects by removing dependencies & builds
Stars: ✭ 105 (-71.62%)
Mutual labels:  disk-space
duhstar
Easily see what's taking up disk space. Shows folder and files sorted by size with human readable units.
Stars: ✭ 15 (-95.95%)
Mutual labels:  disk-space
Packagephobia
⚖️ Find the cost of adding a new dependency to your project
Stars: ✭ 1,110 (+200%)
Mutual labels:  disk-space
diskusage
FANTASTIC SPEED utility to find out top largest folders/files on the disk.
Stars: ✭ 64 (-82.7%)
Mutual labels:  disk-space
Diskover
File system crawler, disk space usage, file search engine and file system analytics powered by Elasticsearch
Stars: ✭ 977 (+164.05%)
Mutual labels:  disk-space
diskover-community
Diskover Community Edition - Open source file indexer, file search engine and data management and analytics powered by Elasticsearch
Stars: ✭ 1,257 (+239.73%)
Mutual labels:  disk-space
Modclean
Remove unwanted files and directories from your node_modules folder
Stars: ✭ 309 (-16.49%)
Mutual labels:  disk-space
Tin Summer
Find build artifacts that are taking up disk space
Stars: ✭ 259 (-30%)
Mutual labels:  disk-space
SharpDiskSweeper
Reveal outstanding files or folders that are eating up your disk space
Stars: ✭ 21 (-94.32%)
Mutual labels:  disk-space

godu

Build Status codecov Go Report Card Gitter chat

Find the files that are taking up your space.

Tired of looking like a noob with Disk Inventory X, Daisy Disk or SpaceMonger? Do you want something that:

  • can do the job
  • scans your drive blazingly fast
  • works in terminal
  • makes you look cool
  • is written in Golang
  • you can contribute to

??

Well then look no more and try out the godu.

Installation

With homebrew:

brew tap viktomas/taps
brew install godu

With go:

go get -u github.com/viktomas/godu

Or grab a Released binary for your OS and architecture, extract it and put it on your $PATH e.g. /usr/local/bin.

Configuration

You can specify names of ignored folders in .goduignore in your home directory:

> cat ~/.goduignore
node_modules
>

I found that I could reduce time it took to crawl through the whole drive to 25% when I started ignoring all node_modules which cumulatively contain gigabytes of small text files.

The .goduignore is currently only supporting whole folder names. PR that will make it work like .gitignore is welcomed.

Usage

godu ~
godu -l 100 / # walks the whole root but shows only files larger than 100MB
# godu -print0 ~ | xargs -0 rm # use with caution! Will delete all marked files!

Favourite aliases

# After you exit godu, all selected files get deleted
alias gd="godu -print0 | xargs -0 rm -rf"
# Usage gm ~/destination/folder
# After you exit godu, all selected files get moved to ~/destination/folder
alias gm="godu -print0 | xargs -0 -I _ mv _ "

The currently selected file / folder can be un/marked with the space-key. Upon exiting, godu prinsts all marked files & folders to stdout so they can be further processed (e.g. via the xargs command).

Mind you -l <size_limit_in_mb> option is not speeding up the walking process, it just allows you to filter small files you are not interested in from the output. The default limit is 10MB.

Use arrows (or hjkl) to move around, space to select a file / folder, ESC, q or CTRL+C to quit

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].