Clip Board

发布时间 2023-05-17 15:46:13作者: ploolq

clear

cb clr
cb clr0
cb clr_0

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 show_420

note

cb note
nt

set note to 1
cb nt1 "hello world"

get note of 1
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

将 1 复制到 0
cb ld1

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

https://github.com/alex8088/clipboard-files

https://github.com/Arian8j2/ClipboardXX