|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1986 (0x7c2)
Types: TextFile
Notes: UNIX file
Names: »cp.1«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/cat1/cp.1«
1 April 1982 1
CP(1) UNIX Programmer's Manual CP(1)
NAME
cp - copy
SYNOPSIS
cp [ -i ] [ -r ] file1 file2
cp [ -i ] [ -r ] file ... directory
DESCRIPTION
_▶08◀F_▶08◀i_▶08◀l_▶08◀e_▶08◀1 is copied onto _▶08◀f_▶08◀i_▶08◀l_▶08◀e_▶08◀2. The mode and owner of _▶08◀f_▶08◀i_▶08◀l_▶08◀e_▶08◀2
are preserved if it already existed; the mode of the
source file is used otherwise.
In the second form, one or more _▶08◀f_▶08◀i_▶08◀l_▶08◀e_▶08◀s are copied into the
_▶08◀d_▶08◀i_▶08◀r_▶08◀e_▶08◀c_▶08◀t_▶08◀o_▶08◀r_▶08◀y with their original file-names.
_▶08◀C_▶08◀p refuses to copy a file onto itself.
If the -i option is specified, _▶08◀c_▶08◀p will prompt the user
with the name of the file whenever the copy will cause an
old file to be overwritten. An answer of 'y' will cause _▶08◀c_▶08◀p
to continue. Any other answer will prevent it from
overwriting the file.
If the -r option is specified and any of the source files
are directories, _▶08◀c_▶08◀p copies each subtree rooted at that
name; in this case the destination must be a directory.
NOTE
This is BSD 4.2 _▶08◀c_▶08◀p program. Genix 4.1 lacks the -r
option. Since Genix 4.1 also lacks the _▶08◀m_▶08◀k_▶08◀d_▶08◀i_▶08◀r(2) system
call and only the superuser can call _▶08◀m_▶08◀k_▶08◀n_▶08◀o_▶08◀d(2), this option
forces _▶08◀c_▶08◀p to execute _▶08◀m_▶08◀k_▶08◀d_▶08◀i_▶08◀r(1) and is therefore slower than
in BSD 4.2.
SEE ALSO
cat(1), pr(1), mv(1), bcp(N)
1 April 1982 1