Skip to content

Commit

Permalink
trashy: add page (#8749)
Browse files Browse the repository at this point in the history
  • Loading branch information
nath1as committed Oct 9, 2022
1 parent d4806b6 commit e9dada8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pages/linux/trashy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# trashy

> An alternative to `rm` and `trash-cli` written in Rust.
> More information: <https://github.com/oberblastmeister/trashy>.
- Move a specific file to the trash:

`trash {{path/to/file}}`

- Move specific files to the trash:

`trash {{path/to/file1 path/to/file2 ...}}`

- List items in the trash:

`trash list`

- Restore a specific file from the trash:

`trash restore {{file}}`

- Remove a specific file from the trash:

`trash empty {{file}}`

- Restore all files from the trash:

`trash restore --all`

- Remove all files from the trash:

`trash empty --all`

0 comments on commit e9dada8

Please sign in to comment.