PUBCP(1) — USER COMMANDS
NAME
pubcp − make a copy of a Publisher document.
SYNOPSIS
pubcp document1 document2
DESCRIPTION
Document1 is copied to document2. Pubcp copies a Publisher document directory and its associated files to the specified name. Pubcp refuses to copy a document to a name that already exists, whether it is another Publisher document or a file.
EXAMPLES
To make a backup copy of Publisher document goodies:
% pubcp goodies old.goodies
copies Publisher document goodies and its associated files to old.goodies.
The following example illustrates how to copy a Publisher document to a different directory:
% pubcp report1 /usr/smith/pub/report1
copies Publisher document report1 from its current directory to /usr/smith/pub, retaining its original document name.
Conversely, the next example illustrates how to copy a Publisher document from a different directory to the current directory:
% pubcp ~ccr/documents/doc1 .
copies Publisher document doc1 from its current directory, ~ccr/documents, to the current directory specified by the . (dot).
In addition, a Publisher document can be copied to a different directory with a new document name:
% pubcp report1 /usr/smith/pub/report2
copies report1 to /usr/smith/pub/report2 giving it a new document name.
SEE ALSO
publisher, pubrm, pubmv, pubclean, cp(1)
Sun Release 3.2 — Last change: 22 January 1990