pasteboard - pbcopy and pbpaste for windows.
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Icon

Pasteboard

Your favourite OSX command line clipboard manipulation libraries pbcopy and pbpasteported over to Windows.

  • pbcopy copies the standard input and places it in the specified pasteboard.
  • pbpaste copies the data from the pasteboard and writes it to the standard output.

Installation

Installation is done via Chocolatey:

# cinst pasteboard

Usage

To copy your SSH key to the clipboard:

# cd .ssh
# type id_rsa.pub | pbcopy

To write the contents of your clipboard to a file:

# cd C:\tmp
# pbpaste > output.txt

With thanks to