mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-07 11:42:51 +00:00
555 B
555 B
Name
copy - copy text to the clipboard
Synopsis
$ copy [options...] [text...]
Description
copy
copies text from stdin or command-line argument (text
) to the system clipboard. The clipboard is managed by WindowServer.
Options
-t type
,--type type
: MIME type of data stored in clipboard. The default type istext/plain
.-c
,--clear
: Clear the clipboard instead of copying.
Examples
# Copy some image to clipboard
$ cat image.png | copy -t image/png
# Place text 'foo' in clipboard
$ copy foo