GitHub

Clean your filesystem with ease

Screenshot

Goclean is written in Go, using the bubbletea framework.


  1. Enter the directories you want to find

  2. Press space/delete to delete the directory

  3. Press Q to quit when you're done

Installation

Go 1.20+ is required. Install go here

go install github.com/aarol/goclean@latest

This should build the program for your system. You should also add add "$(go env GOPATH)/bin" to your $PATH for this command to be accessible anywhere on your system.

Usage

goclean <dir> (dir2 dir3...)

Options

  • -e,--exclude "<dir> (dir2...)": Exclude directories from search (default: node_modules, .git)
  • -a,--all: Include hidden directories (directories starting with ".")

Read the original on github.com ↗