https://github.com/changkun/rmtrash
🗑️ Move directory entries to Trash
https://github.com/changkun/rmtrash
go golang macos trash
Last synced: 9 months ago
JSON representation
🗑️ Move directory entries to Trash
- Host: GitHub
- URL: https://github.com/changkun/rmtrash
- Owner: changkun
- License: mit
- Created: 2020-12-11T10:47:27.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-18T05:55:47.000Z (almost 4 years ago)
- Last Synced: 2024-10-01T10:13:50.787Z (over 1 year ago)
- Topics: go, golang, macos, trash
- Language: Go
- Homepage: https://changkun.de/s/rmtrash
- Size: 4.88 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rmtrash
rmtrash moves directory entries to Trash on macOS.
## Usage
Installation requires [Go 1.16+](https://go.dev).
```
go install changkun.de/x/rmtrash@latest
```
```
alias rm='rmtrash'
```
```
rm /what/ever
rm -rf /what/ever
```
## License
[MIT](./LICENSE) | Copyright © 2020 Changkun Ou