Files
cheatsheet-tldr/tldr/osx/trash
2025-12-27 00:21:38 +00:00

26 lines
562 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# trash
> Move files and directories to the user trash folder.
> More information: <https://keith.github.io/xcode-man-pages/trash.8.html>.
- Move a file to the trash:
`trash {{path/to/file}}`
- Move multiple items or directories to the trash:
`trash {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Move files to the trash with verbose output:
`trash {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}`
- Display help:
`trash {{[-h|--help]}}`