morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base
Log | Files | Refs

cp.1 (845B)


      1 .TH CP 1 sbase\-VERSION
      2 .SH NAME
      3 cp \- copy files and directories
      4 .SH SYNOPSIS
      5 .B cp
      6 .RB [ \-Rr ]
      7 .I file
      8 .RI [ name ]
      9 .P
     10 .B cp
     11 .RB [ \-aPpRrv ]
     12 .RI [ file ...]
     13 .RI [ directory ]
     14 .SH DESCRIPTION
     15 .B cp
     16 copies a given file, naming it the given name.  If multiple files are listed
     17 they will be copied into the given directory.
     18 .SH OPTIONS
     19 .TP
     20 .B \-a
     21 preserve mode, timestamp, links and permissions.
     22 Implies \-d, \-p, \-r.
     23 .TP
     24 .B \-P
     25 don't dereference symbolic links.
     26 .TP
     27 .B \-p
     28 preserve mode, timestamp and permissions.
     29 .TP
     30 .B \-f
     31 if an existing destination file cannot be opened, remove it and try again.
     32 .TP
     33 .B \-R
     34 equivalent to -r.
     35 .TP
     36 .B \-r
     37 copies directories recursively.  If this flag is not specified, directories are
     38 not copied.
     39 .TP
     40 .B \-v
     41 print names of source and destination per file to stdout. In the format:
     42 "source \-> destination".