mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:42:07 +02:00
gomi: add page (#16166)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
523a9136ee
commit
c3767a3b44
1 changed files with 21 additions and 0 deletions
21
pages/common/gomi.md
Normal file
21
pages/common/gomi.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# gomi
|
||||||
|
|
||||||
|
> Manage the trashcan.
|
||||||
|
> See also: `trash`, `rm`.
|
||||||
|
> More information: <https://github.com/babarot/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|--restore]}}`
|
||||||
|
|
||||||
|
- Remove files that have been in the trashcan longer than the specified time ([d]ay, [w]eek, [m]onth, [y]ear):
|
||||||
|
|
||||||
|
`gomi --prune {{1d|1w|1m|1y|...}}`
|
||||||
|
|
||||||
|
- Remove orphaned `.trashinfo` files:
|
||||||
|
|
||||||
|
`gomi --prune {{orphans}}`
|
Loading…
Add table
Reference in a new issue