2025-03-14 21:59:59 -06:00
|
|
|
# trashy
|
|
|
|
|
|
|
|
|
|
> An alternative to `rm` and `trash-cli` written in Rust.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://github.com/oberblastmeister/trashy#usage>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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`
|