mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 03:45:33 +00:00
26 lines
562 B
Plaintext
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]}}`
|