tldr/pages/linux/trash.md

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