Skip to content

pasteboard - pbcopy and pbpaste for windows.

License

Notifications You must be signed in to change notification settings

uzxmx/pasteboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pasteboard

Build Status

Icon

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 scoop:

# Make sure you have added scoop-extras bucket.
$ scoop bucket add extras
$ scoop install pasteboard

If you don't want to add scoop-extras bucket, you can install through a remote json file:

$ scoop install https://github.com/lukesampson/scoop-extras/blob/master/bucket/pasteboard.json

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
$ pbpaste --lf > output.txt # Converting CRLF to LF

Changelogs

v1.2.0

  • Add --lf option to convert CRLF to LF
  • Support installation by scoop

With thanks to

About

pasteboard - pbcopy and pbpaste for windows.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C# 100.0%