The cpy command is a convenient tool that allows users to send text or files to the copy-paste.online service directly from the command line. This README provides instructions on how to install and use the cpy command on CentOS 7.
Github: https://github.com/Webdoors/cpy/
To install the cpy command on CentOS 7, follow these steps:
wget https://copy-paste.online/cmd/cpy-1.0-1.el7.x86_64.rpm
sudo rpm -ivh cpy-1.0-1.el7.x86_64.rpm
jq tool is installed, as it's a required dependency:sudo yum install jq
To use the cpy command, simply provide the text or file path as an argument, use -c flag to get/paste by code or ip Network will do it for you:
cpy "Your text here"
cpy /path/to/your/file.txt
If the operation is successful, you'll receive a message indicating the success status. For files, the message will confirm that the file paste was successful.
For any issues or questions related to the cpy command, please contact us.