pavement

COPY

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(what COPY does)
m (Reverted edits by DavidYoung (talk) to last revision by Ninereasons)
 
(One intermediate revision by one user not shown)

Latest revision as of 17:21, 25 August 2012

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

[edit] 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