8000 GitHub - setlog/cb: Read and write clipboard contents with file and standard IO on the command line.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

setlog/cb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cb

Usage

Copy file contents to clipboard:

cb file.txt

Copy stdin contents to clipboard:

echo foo | cb

Omit exactly one trailing line break if it exists:

echo foo | cb -n
# or
echo -n foo | cb

Manually write the clipboard:

cb
Hello World!^D # ^D = Ctrl+D (send EOF)

Write clipboard to stdout:

cb -o

Write clipboard to file:

cb -o file.txt

Installation

go get -u github.com/setlog/cb

About

Read and write clipboard contents with file and standard IO on the command line.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0