From a6cbd19eee1ceef8c632411960b4feafb6a0cb19 Mon Sep 17 00:00:00 2001 From: Fealthas Date: Thu, 1 Aug 2019 09:44:24 -0400 Subject: [PATCH] trash: add page (#3197) * Create trash.md for trash-cli * Update trash.md add period to pass checkbot * Update trash.md goddam windows backticks fixed * Update trash.md reword empty functionality * Update pages/linux/trash.md Co-Authored-By: Lucas Gabriel Schneider * Update pages/linux/trash.md Co-Authored-By: Owen Voke * adding alternate syntax for deleting * Update trash.md --- pages/linux/trash.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/trash.md diff --git a/pages/linux/trash.md b/pages/linux/trash.md new file mode 100644 index 0000000000..85416a862d --- /dev/null +++ b/pages/linux/trash.md @@ -0,0 +1,24 @@ +# trash + +> A CLI for managing your trashcan / recycling bin. +> More information: . + +- Delete a file (send to trash): + +`trash {{path/to/file}}` + +- List files in trash: + +`trash-list` + +- Restore file from trash: + +`trash-restore` + +- Empty trash: + +`trash-empty` + +- Empty trash, keeping files trashed less than {{10}} days ago: + +`trash-empty {{10}}`