snippetbashTip
trashy — An alternative to `rm` and `trash-cli` written in Rust. More information: <https://github.com/oberbl
Viewed 0 times
commandtrashyandwrittenalternativeclitrash
linux
Problem
How to use the
trashy command: An alternative to rm and trash-cli written in Rust. More information: <https://github.com/oberblastmeister/trashy#usage>.Solution
trashy — An alternative to rm and trash-cli written in Rust. More information: <https://github.com/oberblastmeister/trashy#usage>.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 listRestore 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 --allRemove all files from the trash:
trash empty --allCode Snippets
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 listRestore a specific file from the trash
trash restore {{file}}Remove a specific file from the trash
trash empty {{file}}Context
tldr-pages: linux/trashy
Revisions (0)
No revisions yet.