copyq

Clipboard manager with advanced features. More information: https://copyq.readthedocs.io/en/latest/command-line.html.

copyq

copyq clipboard

copyq add -- text1 text2 text3

copyq add firstline\nsecondline

copyq read 0 1 2

copyq copy < path/to/file.txt

copyq copy image/jpeg < path/to/image.jpg