https://github.com/clovu/trash-rs
`trash-rs` is a Rust library to safely move files to the Trash. Currently supports macOS, with Windows and Linux support planned.
https://github.com/clovu/trash-rs
file-management rust trash
Last synced: 7 months ago
JSON representation
`trash-rs` is a Rust library to safely move files to the Trash. Currently supports macOS, with Windows and Linux support planned.
- Host: GitHub
- URL: https://github.com/clovu/trash-rs
- Owner: clovu
- License: mit
- Created: 2025-11-14T23:20:56.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-11-14T23:39:24.000Z (7 months ago)
- Last Synced: 2025-11-15T01:32:07.559Z (7 months ago)
- Topics: file-management, rust, trash
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trash-rs
`trash-rs` is a Rust CLI tool to safely move files to the Trash. Currently, it supports **macOS**, with **Windows** and **Linux** support planned for future releases.
## Features
* Safely move files to the system Trash without permanent deletion.
* Lightweight and simple CLI interface.
* Preserves file paths and metadata.
* Designed for cross-platform support in the future.
## Usage
```bash
trash /path/to/your/file.txt
```
This will move the specified file to the Trash.
## Planned Features
* **Windows support**: Move files to the Recycle Bin.
* **Linux support**: Move files to the Trash according to the FreeDesktop.org standard.
## License
MIT License © 2025 [Clover You](https://github.com/clovu)