Skip to content

请问如何通过代码或者命令复制文件到剪切板 #5144

Discussion options

You must be logged in to vote

复制内容的属性实质是剪切版里存储的 MimeType 的差异,比如复制文件就可以是 text/uri-list。具体的话 xclip 之类就可以满足需求,可以参考 https://askubuntu.com/questions/211250/how-to-copy-many-files-to-clipboard-from-the-command-line

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by wenfer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants