Skip to content

Copy text from remote machine into local clipboard

License

Notifications You must be signed in to change notification settings

pborzenkov/osccopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oscopy - copy text from remote machine into local clipboard

osccopy uses OSC 52 terminal escape sequence to copy data from stdin into the clipboard on the machine where the terminal emulator is running.

This requires support for OSC 52 from the terminal emulator. Though, most of the modern ones support it.

Usage

# On a remote machine via SSH
$ cat file.txt | osccopy
# file.txt contents is placed into the clipboard of the local machine

License

MIT

About

Copy text from remote machine into local clipboard

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages