Clean your filesystem with ease
Goclean is written in Go, using the bubbletea framework.
-
Enter the directories you want to find
-
Press space/delete to delete the directory
-
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 ".")
