pbcopy & pbpaste released for Windows


1 minute read - suggest an edit

Your favourite OSX command line clipboard manipulation libraries pbcopy and pbpaste were ported over to Windows last night. They are two console applications that pipe the clipboard into/out of STDIN/STDOUT

  • pbcopy copies the standard input and places it in the clipboard.
  • pbpaste copies the data from the clipboard 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

Related Posts

ReactiveUI v7.2.0 released

Learn these three buttons

Announcing ReactiveUI virtual community meetups

ReactiveUI v7.1.0 released

ReactiveUI v7.0.0 released

Semantic Versioning of Xamarin Applications

Announcing Serilog.Sinks.Xamarin

Announcing Cake.Raygun

Announcing Cake.AppleSimulator

Example of Xamarin iOS with Cake