Home > cl-copy-paste

cl-copy-paste

Cl-copy-paste is a project mainly written in C#, it's free.

Command line utilities to provide copy and paste using the system Clipboard

Summary

pbcopy and pbpaste provide provide copying and pasting via the command line, similar to their OS X counterparts.

Author

Stuart Carnie

License

pbcopy and pbpaste are MIT licensed

Help

pbcopy

  • copy contents of STDIN to clipboard

pbpaste

  • paste context of clipboard to STDOUT

Usage

pbpaste > .gitignore

  • Pastes the contents of the clipboard and outputs to a new file called .gitignore

dir /s /r | pbcopy

  • Copies the contents of the dir /s /r operation to the clipboard
Previous:rr-server-5c