COPY
From FreeBSDwiki
(Difference between revisions)
m (added flags info) |
m (Reverted edits by DavidYoung (talk) to last revision by Ninereasons) |
||
(3 intermediate revisions by 2 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== | ==Common options== |
Latest revision as of 16: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.