Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trashy: add page #8749

Merged
merged 9 commits into from
Oct 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

> Trashy is a simple, fast, and featureful alternative to rm and trash-cli written in rust.
nath1as marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://github.com/oberblastmeister/trashy>.

- Trash several files:
nath1as marked this conversation as resolved.
Show resolved Hide resolved

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

- Trash several files:
nath1as marked this conversation as resolved.
Show resolved Hide resolved

`trash {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}`
nath1as marked this conversation as resolved.
Show resolved Hide resolved

- List items in the trash:

`trash list`

- Restore file from trash:
nath1as marked this conversation as resolved.
Show resolved Hide resolved

`trash restore {{file}}`

- Empty file from trash:
nath1as marked this conversation as resolved.
Show resolved Hide resolved

`trash empty {{file}}`

- Restore all files:
nath1as marked this conversation as resolved.
Show resolved Hide resolved

`trash restore --all`

- Empty all files:
nath1as marked this conversation as resolved.
Show resolved Hide resolved

`trash empty --all`