1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 08:15:33 +02:00

trash-cli: refresh page (#9526)

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

* Use `the current` more often

* Update pages/common/trash-cli.md
This commit is contained in:
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

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}}`