2019-10-15 21:18:46 +01:00
|
|
|
# copyq
|
|
|
|
|
|
|
|
> Clipboard manager with advanced features.
|
2023-04-13 08:59:16 +01:00
|
|
|
> More information: <https://copyq.readthedocs.io/en/latest/command-line.html>.
|
2019-10-15 21:18:46 +01:00
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
2023-12-27 06:41:30 +00:00
|
|
|
`copyq copy < {{path/to/file.txt}}`
|
2019-10-15 21:18:46 +01:00
|
|
|
|
|
|
|
- Copy a JPEG image into the clipboard:
|
|
|
|
|
2023-12-27 06:41:30 +00:00
|
|
|
`copyq copy image/jpeg < {{path/to/image.jpg}}`
|