Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
Linux / Unix rcp command - PC✗3
Linux / Unix rcp command

Linux / Unix rcp command

Copies files from one computer to another computer.

Syntax

rcp [-p] [-r] filename … directory
-pAttempt to give each copy the same modification times, access times, modes, and ACLs if applicable as the original file.
-rCopy each subtree rooted at filename; in this case the destination must be a directory.
filenameName of the file
directoryName of the directory

Examples

rcp /mydirectory/myfile hope:otherdir/myfile

This command would copy the file myfile from mydirectory directory into the hope user account directory of otherdir as the name of the file myfile.

rcp is meant to copy between different hosts; attempting to rcp a file onto itself, as with:

rcp tmp/file myhost:/tmp/file

results in a severely corrupted file.

rcp may not correctly fail when the target of a copy is a file instead of a directory.

rcp can become confused by output generated by commands in a $HOME/.profile on the remote host.

rcp requires that the source host have permission to execute commands on the remote host when doing third-party copies.

rcp does not properly handle symbolic links. Use tar or cpio piped to rsh to obtain remote copies of directories containing symbolic links or named pipes.

If you forget to quote metacharacters intended for the remote host, you will get an incomprehensible error message.

rcp will fail if you copy ACLs to a file system that does not support ACLs.

Note: RCP is not a secure or encrypted method of transferring files.

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.