mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 01:24:55 +02:00

* 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
24 lines
388 B
Markdown
24 lines
388 B
Markdown
# 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}}`
|