simple clipboard copy for complex outputs

Terminal Clipboard

record example

Different from others terminal's clipboard coppiers, this one can copy complex and interminables commands like tail -f or outputs that spit multi line texts.

How to use:

You can use gclip to copy a simple command to the clipboard like this:

$ date | gclip
Tue Oct 10 22:55:01 PDT 2021

Or use the pipe to capture complex commands that doesn't generate EOF like this:

$ tail -f file.txt | gclip
text output1
text output2
text output3
(...)

Pressing CTRL+C in this case will make gclip capture the events and copy to the clipboard.

Installing:

Copy command bellow:

wget https://github.com/danielsussa/gclip/releases/latest/download/gclip -P $HOME/bin/ && chmod +x $HOME/bin/gclip

Open a new terminal tab and test it:

$ date | gclip
Tue Oct 10 22:55:01 PDT 2021

Simple!

License: LGPL v3

Owner
Daniel Kanczuk
Dogs, codes and happiness!
Daniel Kanczuk
Similar Resources

Go-grep - A grep copy written in go

Work in progress running/bulding # run from file go run src/main.go -f sample.tx

Aug 19, 2022

Simple to do list API with Gin and Gorm (with Postgres)Simple to do list API with Gin and Gorm (with Postgres)

go-todo Simple to do list API with Gin and Gorm (with Postgres) Docker Clone this repository and run: docker-compose up You can then hit the followin

Aug 29, 2022

Simple and complete API for building command line applications in Go

Simple and complete API for building command line applications in Go Module cli provides a simple, fast and complete API for building command line app

Nov 23, 2022

A Simple and Clear CLI library. Dependency free.

A Simple and Clear CLI library. Dependency free.

A Simple and Clear CLI library. Dependency free. Features Nested Subcommands Uses the standard library flag package Auto-generated help Custom banners

Jan 1, 2023

A simple command line notebook for programmers

A simple command line notebook for programmers

Dnote is a simple command line notebook for programmers. It keeps you focused by providing a way of effortlessly capturing and retrieving information

Jan 2, 2023

Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand

Flag Flag is a simple but powerful commandline flag parsing library for Go. Documentation Documentation can be found at Godoc Supported features bool

Sep 26, 2022

A simple, fast, and fun package for building command line apps in Go

cli cli is a simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable comm

Dec 31, 2022

A simple logging interface that supports cross-platform color and concurrency.

A simple logging interface that supports cross-platform color and concurrency.

WLog Package wlog creates simple to use UI structure. The UI is used to simply print to the screen. There a wrappers that will wrap each other to crea

Sep 26, 2022

Simple, seamless, lightweight time tracking for Git

Simple, seamless, lightweight time tracking for Git

Git Time Metric Seamless time tracking for all your Git projects $ gtm report -last-month $ gtm report -last-month -format summary $ gtm report -last-

Dec 27, 2022
Related tags
Needlessly complex program to parse, increment, and push the latest version number tag on github. Made with 😫 , 😓 & 😭

increment What is this? Needlessly complex program to parse, increment, and push the latest version number tag on github. Err handling by Sentry Made

Feb 28, 2022
Clip - A simple and robust clipboard manager

clip A simple and robust clipboard manager Clip is currently ONLY for macos and

Jun 20, 2022
Limner colorizes and transforms CLI outputs.
Limner colorizes and transforms CLI outputs.

Limner Limner colorizes and transforms CLI outputs. Motivation When playing with kubectl, I sometimes found it hard to extract the information I neede

Dec 14, 2022
Go program that outputs a GIF with the lissajous figures using green and black

lissajousgb This is an exercise of the book The Go Programming Language, by Alan

Dec 18, 2021
A piece of software that shouldn't need to exist. Processes badly formatted outputs from Morgan Stanley Shareworks into usable CSV files.
A piece of software that shouldn't need to exist.  Processes badly formatted outputs from Morgan Stanley Shareworks into usable CSV files.

Shareworks-munger: A program to process Shareworks reports into Something Usable "Shareworks" is a product of Morgan Stanley which tracks certain kind

Jun 6, 2022
A password manager as a CLI, where you can use a master password to retrieve a specified password and store it in your clipboard
A password manager as a CLI, where you can use a master password to retrieve a specified password and store it in your clipboard

Password manager Description CLI to store and retrieve passwords. The retrieved password will be stored on your clipboard! Usage 1.Start with Go go ru

Dec 16, 2021
Clipsync: a high performance clipboard sharing application for linux

clipsync: Clipboard sync Clipsync is a high performance clipboard sharing applic

Sep 18, 2022
copy and paste across machines
copy and paste across machines

Copy-paste across machines using GitLab Snippets as a storage backend. This is a simple CLI tool inspired by the usability of pbcopy and pbpaste or xc

Aug 29, 2022
Go generator to copy values from type to type and fields from struct to struct. Copier without reflection.

Copygen is a command-line code generator that generates type-to-type and field-to-field struct code without adding any reflection or dependenc

Dec 29, 2022
Command line tool to copy images from a camera SD card to your hard drive

Command line tool to copy images from a camera SD card to your hard drive

Nov 26, 2021