From 1f49d278bc26ebc974ec2a3d7b0931adb9dc9677 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Thu, 8 Dec 2022 16:58:13 +1000 Subject: [PATCH] trash-cli: refresh page (#9526) * Fix placeholder format, reorder examples, and: - enhance grammar * Use `the current` more often * Update pages/common/trash-cli.md --- pages/common/trash-cli.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/common/trash-cli.md b/pages/common/trash-cli.md index 2eabc3b7ee..5a3632e452 100644 --- a/pages/common/trash-cli.md +++ b/pages/common/trash-cli.md @@ -3,22 +3,22 @@ > A command-line interface to the trashcan APIs. > More information: . -- Trash files and directories: +- Trash specific files and directories into the current trashcan: -`trash-put {{filename}}` +`trash-put {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` -- Empty the trashcan: +- Remove specific files from the current trashcan: + +`trash-rm {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Empty the current trashcan: `trash-empty` -- List trashed files: +- List trashed files and directories in the current trashcan: `trash-list` -- Restore a trashed file by choosing a number from the list that results from this command: +- Restore a specific file or directory by a number from the displayed list from the current trashcan: `trash-restore` - -- Remove individual files from the trashcan: - -`trash-rm {{filename}}`