Command line interface to manage clipboard

you can download a cb-bin (Only x64 is supported)

cb

How to install

Pre-Compiled

you can download a pre-compiled executable, then you should copy that executable to /usr/bin or add it to your $PATH env. Do not forget to chmod +x cb.

Distribution packages

Users of Arch Linux can install package from AUR:

  • Precompiled release: cb-bin (Only x64 is supported)
  • Build latest release: cb
  • Build from master: cb-git

Build Manually

  • Install rust: curl -sSf https://sh.rustup.rs | sh
  • Install packages: xorg-dev and build-essential
  • Run make && sudo make install

How to use

  • Copy text: cb -t "Text to be copied"
  • Paste copied text: cb -p
  • Copy from stdin: cat file | cb

Usage

Usage: cb [OPTIONS]

Optional arguments:
  -h, --help       Prints the help message
  -V, --version    Prints the version
  -p, --paste      Pastes the content of clipboard
  -c, --clear      Clears the content of clipboard
  -s, --server     Starts server as a daemon
  -r, --raw        Do not print newline after pasting the content
  -t, --text TEXT  Store TEXT into clipboard
Issues

Collection of the latest Issues

rirze

rirze

3

Hi,

I really like this package compared to some others I found. However, I can't seem to find it on crates.io and I wanted to make sure that I somehow didn't skip over it.

Is this package on crates.io?

Versions

Find the latest versions by id

Information - Updated Mar 01, 2022

Stars: 63
Forks: 6
Issues: 2

Repositories & Extras

rust-clipboard is a cross-platform library for getting and setting the contents of the OS-level clipboard

It has been tested on Windows, Mac OSX, GNU/Linux, and FreeBSD

rust-clipboard is a cross-platform library for getting and setting the contents of the OS-level clipboard

EventStoreDB Rust Client

EventStoreDB rust gRPC gRPC Client

EventStoreDB Rust Client

Rust CLI template

A quick and dirty CLI boilerplate template for Rust

Rust CLI template

Roctogen: a rust client library for the GitHub v3 API

This client API is generated from the Isahc HTTP client

Roctogen: a rust client library for the GitHub v3 API

Rust CLI Template

Template for creating Rust-based CLI tools

Rust CLI Template

Pure Rust client for YubiHSM 2 devices from Yubico

YubiHSM 2 devices from Documentation

Pure Rust client for YubiHSM 2 devices from Yubico

Google Cloud Rust Client

This repository contains Google Cloud Platform services

Google Cloud Rust Client

Parsec Rust Client

When using the JWT-SVID authentication method, the client will expect the SPIFFE_ENDPOINT_SOCKET environment variable to contain the path of the Workload API endpoint

Parsec Rust Client

A Rust client for connecting to OmniSciDB via its RPC protocol of Thrift

OmniSciDB via its RPC protocol of Cargo, using cargo build

A Rust client for connecting to OmniSciDB via its RPC protocol of Thrift

Cardano Rust CLI

com/clemenshorn/cardano-rust-cli

Cardano Rust CLI

Godot Rust CLI is an easy to incorporate Rust modules into your Godot project

Also keep in mind that the main branch will usually be ahead of the version on GitHub repo

Godot Rust CLI is an easy to incorporate Rust modules into your Godot project
Facebook Instagram Twitter GitHub Dribbble
Privacy