trash-cli: refresh page (#9526)

* Fix placeholder format, reorder examples, and:
- enhance grammar

* Use `the current` more often

* Update pages/common/trash-cli.md
pull/1/head
Emily Grace Seville 2022-12-08 16:58:13 +10:00 committed by GitHub
parent 92623218aa
commit 1f49d278bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -3,22 +3,22 @@
> A command-line interface to the trashcan APIs.
> More information: <https://github.com/andreafrancia/trash-cli>.
- 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}}`