AptLynx

Command-line tool

gomi

brew/gomi

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Functions like rm but with the ability to restore files

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install gomi

Linux

brew install gomi

Safely delete specific files or folders

gomi path/to/file1 path/to/file2 path/to/folder1 path/to/folder2 ...

Open an interactive menu to restore one or more files

gomi -b

Remove files that have been in the trashcan longer than the specified time ([d]ay, [w]eek, [m]onth, [y]ear)

gomi --prune 1d

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents