From e9dada8221151317e58d7c802784ad220c7f73ea Mon Sep 17 00:00:00 2001 From: nath1as Date: Sun, 9 Oct 2022 06:38:27 +0200 Subject: [PATCH] trashy: add page (#8749) --- pages/linux/trashy.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/trashy.md diff --git a/pages/linux/trashy.md b/pages/linux/trashy.md new file mode 100644 index 000000000..dfe7133bc --- /dev/null +++ b/pages/linux/trashy.md @@ -0,0 +1,32 @@ +# trashy + +> An alternative to `rm` and `trash-cli` written in Rust. +> More information: . + +- 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`