mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 13:35:26 +02:00
trash: add page (#3197)
* Create trash.md for trash-cli * Update trash.md add period to pass checkbot * Update trash.md goddam windows backticks fixed * Update trash.md reword empty functionality * Update pages/linux/trash.md Co-Authored-By: Lucas Gabriel Schneider <casdpa@gmail.com> * Update pages/linux/trash.md Co-Authored-By: Owen Voke <owzie123@gmail.com> * adding alternate syntax for deleting * Update trash.md
This commit is contained in:
parent
4445f03f3f
commit
a6cbd19eee
1 changed files with 24 additions and 0 deletions
24
pages/linux/trash.md
Normal file
24
pages/linux/trash.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# trash
|
||||
|
||||
> A CLI for managing your trashcan / recycling bin.
|
||||
> More information: <https://github.com/andreafrancia/trash-cli>.
|
||||
|
||||
- Delete a file (send to trash):
|
||||
|
||||
`trash {{path/to/file}}`
|
||||
|
||||
- List files in trash:
|
||||
|
||||
`trash-list`
|
||||
|
||||
- Restore file from trash:
|
||||
|
||||
`trash-restore`
|
||||
|
||||
- Empty trash:
|
||||
|
||||
`trash-empty`
|
||||
|
||||
- Empty trash, keeping files trashed less than {{10}} days ago:
|
||||
|
||||
`trash-empty {{10}}`
|
Loading…
Add table
Reference in a new issue