pavement

COPY

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
m (Reverted edits by DavidYoung (talk) to last revision by Ninereasons)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Under FreeBSD and other unixlike OSes, the equivalent command is [[cp]].
+
'''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.
  
 
[[Category:Windows Equivalents]]
 
[[Category:Windows Equivalents]]

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