Awesome
____ _
/ ___|___ _ __ _ _ ___ __ _| |_
| | / _ \| '_ \| | | |/ __/ _` | __|
| |__| (_) | |_) | |_| | (_| (_| | |_
\____\___/| .__/ \__, |\___\__,_|\__|
|_| |___/
Command-line based clipboard tool for every command-line Ninja
Description
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.
System Requirement.
- Supported operating systems:
- Mac OS X 10.6 or above version
- Linux with
xclip
installed - 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
.)
Requirement
- pyclip-copycat by @georgefs
- clime by @moskytw
Installation
- 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.
Usage
###command line support
copycat "some thing"
-- copy into clipboardcopycat --paste
orcopycat -p
-- paste from clipboardcopycat --name=name "some thing"
orcopycat -n name "some thing"
andcopycat --paste --name=name
orcopycat -pn name
-- copy to named clipboardsecho test|copycat
orcat file|copycat -n name
-- support pipe from STDINcopycat --list
orcopycat -l
-- list avaliable clipboardscopycat --delete --name name
orcopycat -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`
$cmd
linux like
Contributors
- @littleq0903
- @georgeli
Contributions are welcome, just send me your pull request and briefly describe what have you done!