Clip Board
list all clipboards content
cb
routine
0
: system default clipboard_WhatEver
: persistent clipboard (name start with_
)
clear
cb clr
cb clr0
cb clr_0
cb clr -a
cb --all clear
cut
ct
paste
p
cb paste69
cb p42 > SomeFile
cb p_2
cb p_0 | Write-Output
copy
cp
将字符串"1"复制到 1
cb cp1 "1"
将字符串"hello world"复制到 _world
cb cp_world "hello world"
show
sh
cb sh0
cb show_420
note
cb note
nt
set note to 1
cb nt1 "hello world"
get note of 1
cb nt1
remote not
cb nt1 ""
clear
cb clr
cb clr1
cb clr_foo
info
cb info
in
load
将 0 复制到 1 2 3 _foo
cb ld 1 2 3 _foo
load content of 1 into 0 (system default)
cb ld1
load content of _abc
into 1
, x
, foo
cb ld_abc 1 x foo
swap
2 与 0 swap
cb sw2
Get-Clipboard
Set-Clipboard
Set-Clipboard
-Value <String[]>
[-Append]
[-WhatIf]
[-Confirm]
[-PassThru]
[<CommonParameters>]
Set-Clipboard -Value "This is a test string"
Get-Content C:\Users\user1\.ssh\id_ed25519.pub | Set-Clipboard
Start-Sleep -Milliseconds 1
https://github.com/astrand/xclip
https://github.com/dacap/clip
https://github.com/Slackadays/Clipboard