Various of these raise security questions, i.e. in CopyQ there is no way of marking passwords on the clipboard as secret unless they come from certain password apps, and that is quite tedious, and presumes you aren’t using a command-line password manager, or a browser plugin.
Clipboard manager CopyQ (Mac/Windows/Linux) offers syncing via file on disk. If you have secure sync this might be attractive to you. That would even provide a circuitous way of getting data to smartphones.
brew cask install copyq
Paste is the app I was using for ages. They are a subscription service, AUD16.50/yr.
Yoink (Mac/iOs) also interpolates itself into drag-and-drop, which is a killer USP.
The KDE one (Mac/Windows/Android,Linux). Note it relies on google cloud messaging for sync which is deprecated; possibly an indication of undermaintenance. Functions fine as a local clipboard thing though.
A sometimes-recommended Windows one I haven’t used is
Built-in windows clipboard manager
Windows 10 includes clipboard history per default.
Mentioned elsewhere but collated here: the tips for using shell scripting to interact with the clipboard!
cat foo | pbcopy pbpaste > whatever.txt
Easy …and yet! Needlessly doesn’t do what you expect per default!
The command is
xclip, which per default copies your data into pneumatic pipes,
or somewhere else I do not know how to retrieve it from because I am not a 7ee+ hack0rz.
There is some whole parallel copy-paste system that I do no care about and which
is not in my muscle memory and I will therefore never use.
Anyway, the argument I need to actually use what to work with the clipboard
content for normal apps accessed using the copy paste conventions of the non-X11 world, is
cat foo.txt | xclip -selection clipboard xclip --out -selection clipboard > file.txt
I can never remember this half way through a pipe when I need it, so I put this in my bash profile.
alias pbcopy "xclip -selection clipboard" alias pbpaste "xclip --out -selection clipboard"
cat foo.txt | fish_clipboard_copy
You want to copy and paste between devices? If you are only using Apple devices this is easy via “Hand off”. Microsoft offers a Windows sync service. Cross platform though… A couple of the above options, e.g. CopyQ offer sync. So does Paste and Copied. Beware of the obviosu security risks of this.
pastebin, the public sharing thing also has a command line.
handy if what you are copying is not private.
Copy text from your PC to your Smart device’s clipboard, and Paste text from your device’s clipboard to your PC, instantly! All you need is the PC application, and the Android application on your device. No sign-in required!
Text can be copied over any network. As long as your PC and Smart device both have internet connections, you’re good to go. Alt-C uses Google Cloud Messaging with SSL connections to copy the text.