Skip to content

Commit c3767a3

Browse files
zencrabsebastiaanspeckManagor
authored
gomi: add page (#16166)
Co-authored-by: Sebastiaan Speck <[email protected]> Co-authored-by: Managor <[email protected]>
1 parent 523a913 commit c3767a3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pages/common/gomi.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# gomi
2+
3+
> Manage the trashcan.
4+
> See also: `trash`, `rm`.
5+
> More information: <https://github.com/babarot/gomi>.
6+
7+
- Safely delete specific files or folders:
8+
9+
`gomi {{path/to/file1 path/to/file2 path/to/folder1 path/to/folder2 ...}}`
10+
11+
- Open an interactive menu to restore one or more files:
12+
13+
`gomi {{[-b|--restore]}}`
14+
15+
- Remove files that have been in the trashcan longer than the specified time ([d]ay, [w]eek, [m]onth, [y]ear):
16+
17+
`gomi --prune {{1d|1w|1m|1y|...}}`
18+
19+
- Remove orphaned `.trashinfo` files:
20+
21+
`gomi --prune {{orphans}}`

0 commit comments

Comments
 (0)