Skip to content

aos clipboard

Read and write the system clipboard

2 commands. Run aos clipboard --help for the same list from the binary, or see every group.

Read and write the system clipboard as text. copy takes words or stdin, paste prints to stdout, so both sit naturally in a pipeline. To react to clipboard changes, use aos watch clipboard.

Copy stdin, or the given words, to the clipboard

Terminal window
aos clipboard copy [text...]
Terminal window
echo hello | aos clipboard copy
aos clipboard copy "some text"

Print the clipboard to stdout

Terminal window
aos clipboard paste
Terminal window
aos clipboard paste > note.txt