1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/linux/trashy.md
2022-10-09 10:08:27 +05:30

32 lines
574 B
Markdown

# 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`