From 2545d6e0ddab16611bf38c19cea919416ecfa71a Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 8 Sep 2024 18:52:11 +0300 Subject: [PATCH] trash: adjust wording, trash-cli: make into an alias of trash (#13635) * Update trash-cli.md * Update trash.md --- pages/common/trash-cli.md | 22 +++------------------- pages/linux/trash.md | 2 +- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/pages/common/trash-cli.md b/pages/common/trash-cli.md index 5a3632e45..3acd212d5 100644 --- a/pages/common/trash-cli.md +++ b/pages/common/trash-cli.md @@ -1,24 +1,8 @@ # trash-cli -> A command-line interface to the trashcan APIs. +> This command is an alias of `trash`. > More information: . -- Trash specific files and directories into the current trashcan: +- View documentation for the original command: -`trash-put {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` - -- 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 and directories in the current trashcan: - -`trash-list` - -- Restore a specific file or directory by a number from the displayed list from the current trashcan: - -`trash-restore` +`tldr trash` diff --git a/pages/linux/trash.md b/pages/linux/trash.md index 4827c3739..36c2a237e 100644 --- a/pages/linux/trash.md +++ b/pages/linux/trash.md @@ -3,7 +3,7 @@ > Manage the trashcan/recycling bin. > More information: . -- Delete a file and send it to the trash: +- Send a file to the trash: `trash {{path/to/file}}`