To copy the file some.data from the current directory of the local host to the directory /u/hugo/archive on host rzri6f enter:
rcp some.data rzri6f:/u/hugo/archive
Suppose you want to choose a different name for the destination:
rcp some.data rzri6f:/u/hugo/archive/x.y
You could have specified the destination relative to hugo's home directory:
rcp some.data hugo@rzri6f:archive
This is absolutely equivalent to the first example.
A last example
rcp -rp fred@rzhp9a:mess/data rzhp9b:/exp/marchHere both rzhp9a and rzhp9b are remote nodes. The source is given relative to the home directory of fred on rzhp9a whereas the destination is an absolute pathname on rzhp9b. The flags say, that the source is a directory and is to be copied recursively ( -r); this implies that the destination also has to be a directory. Moreover the file permissions and the modification times are preserved ( -p).