aos clipboard
Read and write the system clipboard
9 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.
Commands
Section titled “Commands”aos clipboard copy
Section titled “aos clipboard copy”Copy stdin, or the given words, to the clipboard
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard copy [text...]echo hello | aos clipboard copyaos clipboard copy "some text"aos clipboard history
Section titled “aos clipboard history”List the texts the history recorder saw, newest first
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard history [--limit=<n>] [--json]| flag | values | meaning |
|---|---|---|
--limit |
<n> |
Optional |
--json |
Optional |
aos clipboard historyaos clipboard history --limit=5 --jsonaos clipboard history clear
Section titled “aos clipboard history clear”Delete the recorded clipboard history
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard history clearaos clipboard history clearaos clipboard history get
Section titled “aos clipboard history get”Print history entry <n> (1 is the newest)
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard history get <n>| flag | values | meaning |
|---|---|---|
<n> |
Required positional argument |
aos clipboard history get 2aos clipboard history restore
Section titled “aos clipboard history restore”Put history entry <n> back on the clipboard (1 is the newest)
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard history restore <n>| flag | values | meaning |
|---|---|---|
<n> |
Required positional argument |
aos clipboard history restore 2aos clipboard history start
Section titled “aos clipboard history start”Start recording clipboard history in the background (opt-in; ask the person first)
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard history startaos clipboard history startaos clipboard history status
Section titled “aos clipboard history status”Say whether the history recorder is running and how much it holds
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard history status [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos clipboard history statusaos clipboard history stop
Section titled “aos clipboard history stop”Stop the clipboard history recorder (the history is kept)
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard history stopaos clipboard history stopaos clipboard paste
Section titled “aos clipboard paste”Print the clipboard to stdout
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos clipboard pasteaos clipboard paste > note.txt