6.0;cpl (copy_link), revision 6.0, 83/04/21
CPL (COPY_LINK) -- Copy a link.
usage: CPL linkname [target_pathname] [-C|-R] [-CHN] [-LL] [-LDL] {CL}
FORMAT
CPL linkname [target_pathname] ... [options]
CPL copies a linkname to the target object.
ARGUMENTS
Multiple linkname/target_pathname pairs and wildcarding are permitted.
linkname
(required) Specify pathname of link to be copied.
pathname
(optional) Specify target_pathname of the copied link.
Default if omitted: copy link into current working directory.
OPTIONS
Default options are indicated by "(D)."
-C (D) Create source link at target. An error occurs if the target
link already exists.
-R Replace target with copy of source.
-LL List links copied.
-LDL List links deleted because of replacement (-R).
-CHN Change name of existing link with target_pathname before
copying.
CPL uses the command line parser and so also accepts the standard
command options listed in HELP CL.
EXAMPLES
1. $ cpl //ai/source_programs /progs Copy the link "//ai/source_programs"
to the node entry directory as
"progs".
2. $ cpl //zorba/sys/print /sys -r Copy the link "/sys/print" from the
node whose entry directory is
"zorba" to the local /sys directory,
replacing any existing link.