diff --git a/pages/common/trash-cli.md b/pages/common/trash-cli.md index 5a3632e452..3acd212d5b 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 4827c37397..36c2a237e4 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}}`