pavement

COPY

From FreeBSDwiki
Revision as of 16:21, 25 August 2012 by Jimbo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

COPY is the DOS command for copying files. Under FreeBSD and other unixlike OSes, the equivalent command is cp.

Common options

-R recursive -- copy files in directories underneath
-H follow symbolic links in the command line, if -R is specified
-L follow all links, even if not specified, if -R is specified
-P do NOT follow links if -R is specified (default action)
-i prompt before overwriting
-p preserve attributes (modification and access times, file flags and 
   mode, owner and group ID.
-v verbose -- tell me everything that's going on.
Personal tools