| Crates.io | rsclip |
| lib.rs | rsclip |
| version | 0.2.1 |
| created_at | 2023-12-08 17:05:36.185998+00 |
| updated_at | 2024-01-31 11:25:48.026837+00 |
| description | CLI utility to copy the contents of a file to the clipboard written in Rust |
| homepage | |
| repository | https://github.com/daniqss/rsclip |
| max_upload_size | |
| id | 1062253 |
| size | 25,440 |
CLI utility to copy the contents of a file to the clipboard written in Rust. Inspired in xclip. Supports X11.
cargo install rclip
Copy the contents of a pipe to the clipboard.
$ echo "Hello world" | rsclip
$ rsclip
Hello world
Paste the contents of a file to the clipboard.
$ rclip
Clipboard content
$ rclip -p
Clipboard content
$ rclip --paste
Clipboard content
Copy the contents of a file to the clipboard.
$ rclip <file>
$ rclip -c <file>
$ rclip --copy <file>