, or copy one or more
to the same names under
If the destination is an existing file, the file is overwritten;
if the destination is an existing directory, the file is copied
into the directory (the directory is
If one of the inputs is a directory, use the
Prompt for confirmation (
for yes) before overwriting an existing file.
Preserve the modification time and permission modes for the copied file.
supplies the permissions of the invoking user.)
Recursively copy a directory, its files, and its subdirectories
to a destination
, duplicating the tree structure.
(This option is used with the second command-line format when at least one
of the source
arguments is a directory.)
Copy two files to their parent directory (keep the same names):
cp outline memo ..