cp: add -a, -d, -p
This commit is contained in:
12
cp.1
12
cp.1
@@ -8,7 +8,7 @@ cp \- copy files and directories
|
||||
.RI [ name ]
|
||||
.P
|
||||
.B cp
|
||||
.RB [ \-Rr ]
|
||||
.RB [ \-adpRr ]
|
||||
.RI [ file ...]
|
||||
.RI [ directory ]
|
||||
.SH DESCRIPTION
|
||||
@@ -17,6 +17,16 @@ copies a given file, naming it the given name. If multiple files are listed
|
||||
they will be copied into the given directory.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-a
|
||||
preserve mode, timestamp, links and permissions.
|
||||
Implies \-d, \-p, \-r.
|
||||
.TP
|
||||
.B \-d
|
||||
don't dereference links. preserve links.
|
||||
.TP
|
||||
.B \-p
|
||||
preserve mode, timestamp, links and permissions.
|
||||
.TP
|
||||
.B \-f
|
||||
if an existing destination file cannot be opened, remove it and try again.
|
||||
.TP
|
||||
|
Reference in New Issue
Block a user