CLI - Output to Clipboard
(1) By anonymous on 2021-09-12 21:13:55 [link]
.mode does not have a | clip option. Is there anyway to send CLI output to the clipboard (Windows)?
(2) By Warren Young (wyoung) on 2021-09-12 21:29:03 in reply to 1 [link]
[Pipe it](https://www.bytesizedalex.com/windows-command-line-pipe-to-clipboard/).
(3) By anonymous on 2021-09-12 21:43:29 in reply to 2
That is using the Windows command prompt: I wanted to send output from the CLI to the clipboard. I tried > sqlite> .output clip And it works!
(4) By Larry Brasfield (larrybr) on 2021-09-12 22:24:07 in reply to 3 [link]
More likely, if it worked as the thread topic suggests, you tried:<code> .output |clip </code>Otherwise, "worked" means that a file named "clip" was written.
(5) By anonymous on 2021-09-13 07:26:18 in reply to 4 [link]
You are right. It was >.output \|clip I omitted the 'escape' i.e. \\|clip