cbs
Work in progress
cbs is a command line utility that is designed to run on linux system , macOs and maybe windows. It provides an interface to manage clipboard from the command line
Install cbs
# you need install rust
|
# and then install cbs
How to use
- copy text to clipboard:
cbs copy "Text to be copied to clipboard"
- copy text to primary:
cbs copy -s primary "Text to be copied to primary # only linux"
- paste copied text from clipboard:
cbs paste
- paste copied text from primary:
cbs paste -s primary # only linux
- copy text to clipboard from stdin:
cat exmaple-file.txt | cbs
- copy text to primary from stdin:
cat exmaple-file.txt | cbs -s primary # only linux
Usage
)