about · lately · live · notes · talks · writing · contact · thanks · support ·


pbcopy & pbpaste released for Windows

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

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