1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:22:09 +02:00
tldr/pages/common/copyq.md
K.B.Dharun Krishna 1823d2bec4
copyq: update link (#10072)
* copyq: update link

* ko/copyq: update link
2023-04-13 15:59:16 +08:00

701 B

copyq

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

  • Launch CopyQ to store clipboard history:

copyq

  • Show current clipboard content:

copyq clipboard

  • Insert raw text into the clipboard history:

copyq add -- {{text1}} {{text2}} {{text3}}

  • Insert text containing escape sequences ('\n', '\t') into the clipboard history:

copyq add {{firstline\nsecondline}}

  • Print the content of the first 3 items in the clipboard history:

copyq read 0 1 2

  • Copy a file's contents into the clipboard:

copyq copy < {{file.txt}}

  • Copy a JPEG image into the clipboard:

copyq copy image/jpeg < {{image.jpg}}