Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 721 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 721 Bytes

Console clipboard [copy/file/paste] (https://github.com/zvezdochiot/cb)

An easy to way to perform copy & paste operations in the terminal.

Copy and paste using stdin/stdout

# Copy a single line
cbc "This is some data"

# Copy lots of data
cat ./sample.txt | cbf -

# Copy a single file
cbf sample.txt

# Now its time to paste the data...

# Using stdout
cbp

# Send clipboard data to file
cbp > output.txt

Building clip is very simple. Just use the predefined Makefile

# Compile all the sources.
make

# To install the application globally run
[sudo] make install

This will generate an executable called cbc, cbf and cbp in the working directory.