pavement

COPY

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
m (added flags info)
Line 1: Line 1:
 
Under FreeBSD and other unixlike OSes, the equivalent command is [[cp]].
 
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]]

Revision as of 20:47, 22 December 2004

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