mirror of https://github.com/CrimsonTome/tldr.git
trash-cli: refresh page (#9526)
* Fix placeholder format, reorder examples, and: - enhance grammar * Use `the current` more often * Update pages/common/trash-cli.mdpull/1/head
parent
92623218aa
commit
1f49d278bc
|
@ -3,22 +3,22 @@
|
||||||
> A command-line interface to the trashcan APIs.
|
> A command-line interface to the trashcan APIs.
|
||||||
> More information: <https://github.com/andreafrancia/trash-cli>.
|
> 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`
|
`trash-empty`
|
||||||
|
|
||||||
- List trashed files:
|
- List trashed files and directories in the current trashcan:
|
||||||
|
|
||||||
`trash-list`
|
`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`
|
`trash-restore`
|
||||||
|
|
||||||
- Remove individual files from the trashcan:
|
|
||||||
|
|
||||||
`trash-rm {{filename}}`
|
|
||||||
|
|
Loading…
Reference in New Issue