Termux-clipboard-set
Set the system clipboard text. The text to set is either supplied as arguments or read from stdin if no arguments are given.
Usage
termux-clipboard-set [text]
Text is read either from standard input or from command line arguments.
Examples
termux-clipboard-set "hello world"
cat file.txt | termux-clipboard-set
See Also
Termux:API - Termux addon that exposes device functionality as API to command line programs.
Termux-clipboard-get - Utility to retrieve text from the clipboard.
This article is issued from Termux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.