Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cp(1) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cat(1)

pr(1)

mv(1)



     cp(1)                                                       cp(1)



     NAME
          cp - copy files

     SYNOPSIS
          cp [-i] [-r] file1 file2

          cp [-i] [-r] file ... directory

     DESCRIPTION
          file1 is copied onto file2.  The mode and owner of file2 are
          preserved if it already existed; otherwise, the mode of the
          source file is used.

          In the second form, one or more files are copied into the
          directory with their original filenames.

          cp refuses to copy a file onto itself.

          If the -i flag option is specified, cp 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 cp to
          continue.  Any other answer will prevent it from overwriting
          the file.

          If the -r flag option is specified and any of the source
          files are directories, cp copies each subtree rooted at that
          name; in this case, the destination must be a directory.

     FILES
          bin/cp

     SEE ALSO
          cat(1), pr(1), mv(1).






















     Page 1                                        (last mod. 1/16/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026