gomi

A Safer Alternative to the UNIX rm Command!

GitHub Repo stars

Safety First, Always

Never worry about accidentally deleting important files again. gomi moves them to trash instead of permanent deletion, giving you peace of mind while working in the command line.

gomi CLI demonstration

🗑️ Safe File Handler

Works exactly like rm but with a safety net. Seamlessly replace your existing rm command with gomi using a simple alias, maintaining all your familiar command flags.

🔄 Quick Recovery

Made a mistake? No problem. Quickly restore files to their original location with a simple gomi --restore command. Includes an intuitive interface for browsing and selecting files to restore.

⚙️ Rich Configuration

Tailor gomi to your workflow with extensive YAML configuration. Customize everything from file filters and color schemes to preview options and UI density. Your CLI, your rules.

Installation

$ curl https://gomi.dev/install | bash

Usage

$ gomi example.txt
Moving example.txt to trash...

$ gomi --restore
Restored example.txt to original location
EXPLORE ON GITHUB