mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
trashy: add page (#8749)
This commit is contained in:
parent
d4806b6042
commit
e9dada8221
1 changed files with 32 additions and 0 deletions
32
pages/linux/trashy.md
Normal file
32
pages/linux/trashy.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue