opcp [-a] [-v] [-q] operator1 [operator2...] destination
This will copy the operators specified. If the destination ends with a
/, the node(s) will be copied into the destination component with their original names. If the destination does not end with a
/ then the destination is the path name of the new node.
Specifiying a destination of
. means copy the nodes into the current component using their original names.
If the destination component does not exist the operation will fail. If a node of the same name as the target name already exists, the operation will fail, unless the
-a option is used.
||return the name of the created node.|
||cause nodes to be automatically renamed if a node that matches their target name already exists.|
||suppress (quiet) all errors.|
opcp geo* .
opcp /obj/geo1/* /obj/geo2/
opcp geo1 fred
To get the name of the new node:
set NEWNAME = `execute("opcp -v $NAME .")`