📂 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.
A Safer Alternative to the UNIX rm Command!
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.
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.
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.
Fully compatible with the XDG Trash specification. Integrates seamlessly with other trash management tools like trash-cli, ensuring consistent file handling across different tools.
$ curl https://gomi.dev/install | bash
$ gomi example.txt Moving example.txt to trash... $ gomi --restore Restored example.txt to original location