version 1.7, 1998/11/11 23:01:51 |
version 1.8, 1999/01/26 04:09:35 |
|
|
.Nd install binaries |
.Nd install binaries |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm install |
.Nm install |
.Op Fl CcpSs |
.Op Fl bCcpSs |
|
.Op Fl B Ar suffix |
.Op Fl f Ar flags |
.Op Fl f Ar flags |
.Op Fl g Ar group |
.Op Fl g Ar group |
.Op Fl m Ar mode |
.Op Fl m Ar mode |
.Op Fl o Ar owner |
.Op Fl o Ar owner |
.Ar file1 file2 |
.Ar file1 file2 |
.Nm install |
.Nm install |
.Op Fl CcpSs |
.Op Fl bCcpSs |
|
.Op Fl B Ar suffix |
.Op Fl f Ar flags |
.Op Fl f Ar flags |
.Op Fl g Ar group |
.Op Fl g Ar group |
.Op Fl m Ar mode |
.Op Fl m Ar mode |
|
|
is moved into |
is moved into |
.Ar directory |
.Ar directory |
with its original filename. |
with its original filename. |
If the target file already exists, it is overwritten if permissions |
If the target file already exists, it is |
allow. |
either renamed to |
|
.Ar file.old |
|
if the |
|
.Fl b |
|
option is given |
|
or overwritten |
|
if permissions allow, An alternate backup suffix may be specified via the |
|
.Fl B |
|
option's argument. |
|
.Pp |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl b |
|
Backup any existing files before overwriting them by renaming |
|
them to |
|
.Ar file.old . See |
|
.Fl B |
|
for specifying a different backup suffix. |
|
.It Fl B Ar suffix |
|
Use |
|
.Ar suffix |
|
as the backup suffix if |
|
.Fl b |
|
is given. |
.It Fl C |
.It Fl C |
Copy the file. |
Copy the file. |
If the target file already exists and the files are the same, |
If the target file already exists and the files are the same, |