____ _
/ ___|___ _ __ _ _ ___ __ _| |_
| | / _ \| '_ \| | | |/ __/ _` | __|
| |__| (_) | |_) | |_| | (_| (_| | |_
\____\___/| .__/ \__, |\___\__,_|\__|
|_| |___/
Command-line based clipboard tool for every command-line Ninja
This is a clipboard tool for command-line heavy users, especially the users who are using only console mode in daily life. Traditional clipboard stores only 1 value at the same time, copycat doesn't but store as many as you could. (if you remember their name), you could store 1 value into your system clipboard(anonymously) or store many named records.
- Supported operating systems:
- Mac OS X 10.6 or above version
- Linux with
xclipinstalled - Windows (testing, we're both not familiar with Windwos, if you would add some support to Windows part, we will appreciate that. :)
- Python 2.5 or above version
(P.S. This script will only work on Macintosh system for now, because the concept of it is using this command to operate clipboard: pbcopy.)
- pyclip-copycat by @georgefs
- clime by @moskytw
- Clone this project into your computer or download it directly.
git clone https://github.com/georgefs/copycat.git python install setup.py install- Restart your terminal, and enjoy.
###command line support
copycat "some thing"-- copy into clipboardcopycat --pasteorcopycat -p-- paste from clipboardcopycat --name=name "some thing"orcopycat -n name "some thing"andcopycat --paste --name=nameorcopycat -pn name-- copy to named clipboardsecho test|copycatorcat file|copycat -n name-- support pipe from STDINcopycat --listorcopycat -l-- list avaliable clipboardscopycat --delete --name nameorcopycat -dn name-- remove specified clipboard
###python method
import copycat
copycat.copy(value='value', name='name')
copycat.paste(name='name')###command line advance
copycat ls
cmd=`copycat -p`
$cmdlinux like
- @littleq0903
- @georgeli
Contributions are welcome, just send me your pull request and briefly describe what have you done!