48 lines
985 B
Groff
48 lines
985 B
Groff
.TH cpdir.rdb "" "" "/rdb Command"
|
|
.PC "Copy one directory tree to another directory"
|
|
\fBcpdir.rdb \fIfromdirectory todirectory\fR
|
|
.PP
|
|
.II cpdir
|
|
.II "copy directory"
|
|
.II directory^copy
|
|
The command
|
|
.B cpdir.rdb
|
|
copies a directory tree \(em that is, all directories and
|
|
their files \(em from
|
|
.I fromdirectory
|
|
to
|
|
.IR todirectory .
|
|
.PP
|
|
.B cpdir.rdb
|
|
uses the tar command in a special way.
|
|
It is a shell program
|
|
so you can read it and see how it does it.
|
|
It performs almost exactly the same work as the COHERENT command
|
|
.BR cpdir .
|
|
.SH Example
|
|
You might use this to back up a large directory:
|
|
.DM
|
|
cpdir.rdb /usr/rdb /usr/rdb.backup
|
|
.DE
|
|
.PP
|
|
The following moves a directory to a preferred place:
|
|
.DM
|
|
cpdir.rdb /usr/he.left/goodstuff /usr/project/goodstuff
|
|
.DE
|
|
.SH "See Also"
|
|
COHERENT Lexicon:
|
|
.B
|
|
cpdir,
|
|
tar
|
|
.R
|
|
.SH Notes
|
|
This command is named
|
|
.B cpdir.rdb
|
|
rather than
|
|
.BR cpdir ,
|
|
as in other implementations of
|
|
.BR /rdb ,
|
|
to avoid clashing with the COHERENT command
|
|
.BR cpdir .
|
|
.SO cpdir.rdb
|