Files
tldr/pages.zh/linux/wl-paste.md

21 lines
418 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# wl-paste
> 在 Wayland 剪贴板中粘贴内容。
> 另见:`wl-copy``xclip`。
> 更多信息:<https://github.com/bugaevc/wl-clipboard>。
- 粘贴剪贴板的内容:
`wl-paste`
- 粘贴主剪贴板的内容(高亮文本):
`wl-paste --primary`
- 将剪贴板的内容写入文件:
`wl-paste > {{path/to/file}}`
- 将剪贴板的内容通过管道传递给命令:
`wl-paste | {{command}}`