Skip to content

zvezdochiot/cb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.