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
- ncompress
Fast, simple LZW file compressor - fselect
Find files with SQL-like queries utility rust sql tool cli hacktoberfest files find command-line filesystem query… - nspr
Platform-neutral API for system-level and libc-like functions - cproto
Generate function prototypes for functions in input files - trash-cli
Command-line interface to the freedesktop.org trashcan - xvc-file
File tracking, versioning, upload and download functions for Xvc - scrypt
Encrypt and decrypt files using memory-hard password function - dsync
Generate rust structs & query functions from diesel schema files.
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents