What it is
clipboard is a command-line tool for getting and setting the clipboard. simple sample uses:
- getting
- clipboard -v foo.txt (pastes into file 'foo.txt')
- setting
- echo -n foo | clipboard (copies 'foo' to the clipboard)
- clipboard -c foo.txt (copies the contents of file 'foo.txt' to the clipboard)