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:
parent
92623218aa
commit
1f49d278bc
1 changed files with 9 additions and 9 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue