• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H04-Feb-2020-2827

docs/H03-May-2022-

vendor/H03-May-2022-391,767323,880

.goreleaser.ymlH A D04-Feb-2020854 4139

README.mdH A D04-Feb-20201.5 KiB3623

go.modH A D04-Feb-2020527 1714

go.sumH A D04-Feb-20208 KiB8786

main.goH A D04-Feb-202012.6 KiB552462

README.md

1<p align="center">
2  <img src="./docs/screenshot.png" width="500" alt="gomi">
3</p>
4[![](http://img.shields.io/github/release/b4b4r07/gomi.svg?style=flat)][release] [![](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)][license] [![](https://github.com/b4b4r07/gomi/workflows/release/badge.svg)](https://github.com/b4b4r07/gomi/releases)
5
6`gomi` is a simple trash tool that works on CLI, written in Go
7
8The concept of the trashcan does not exist in Command-line interface ([CLI](http://en.wikipedia.org/wiki/Command-line_interface)). If you have deleted an important file by mistake with the `rm` command, it would be difficult to restore. Then, it's this `gomi`. Unlike `rm` command, it is possible to easily restore deleted files because `gomi` have the trashcan for the CLI.
9
10## Features
11
12- Like a `rm` command but not unlink (delete) in fact (just move to another place)
13- Easy to restore, super intuitive
14- Compatible with `rm` command, e.g. `-r`, `-f` options
15- Nice UI, awesome CLI UX
16- Easy to see what gomi does with setting `GOMI_LOG=[trace|debug|info|warn|error]`
17
18## Installation
19
20Download the binary from [GitHub Releases][release] and drop it in your `$PATH`.
21
22- [Darwin / Mac][release]
23- [Linux][release]
24
25## Versus
26
27- [andreafrancia/trash-cli](https://github.com/andreafrancia/trash-cli)
28- [sindresorhus/trash](https://github.com/sindresorhus/trash)
29
30## License
31
32[MIT][license]
33
34[release]: https://github.com/b4b4r07/gomi/releases/latest
35[license]: https://b4b4r07.mit-license.org
36