1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH INSTALL "1" "March 2007" "GNU coreutils 6.9" "User Commands"
4 install \- copy files and set attributes
7 [\fIOPTION\fR]... [\fI-T\fR] \fISOURCE DEST\fR
10 [\fIOPTION\fR]... \fISOURCE\fR... \fIDIRECTORY\fR
13 [\fIOPTION\fR]... \fI-t DIRECTORY SOURCE\fR...
16 [\fIOPTION\fR]... \fI-d DIRECTORY\fR...
18 .\" Add any additional description here
20 In the first three forms, copy SOURCE to DEST or multiple SOURCE(s) to
21 the existing DIRECTORY, while setting permission modes and owner/group.
22 In the 4th form, create all components of the given DIRECTORY(ies).
24 Mandatory arguments to long options are mandatory for short options too.
26 \fB\-\-backup\fR[=\fICONTROL\fR]
27 make a backup of each existing destination file
30 like \fB\-\-backup\fR but does not accept an argument
35 \fB\-d\fR, \fB\-\-directory\fR
36 treat all arguments as directory names; create all
37 components of the specified directories
40 create all leading components of DEST except the last,
41 then copy SOURCE to DEST
43 \fB\-g\fR, \fB\-\-group\fR=\fIGROUP\fR
44 set group ownership, instead of process' current group
46 \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
47 set permission mode (as in chmod), instead of rwxr\-xr\-x
49 \fB\-o\fR, \fB\-\-owner\fR=\fIOWNER\fR
50 set ownership (super\-user only)
52 \fB\-p\fR, \fB\-\-preserve\-timestamps\fR
53 apply access/modification times of SOURCE files
54 to corresponding destination files
56 \fB\-s\fR, \fB\-\-strip\fR
59 \fB\-S\fR, \fB\-\-suffix\fR=\fISUFFIX\fR
60 override the usual backup suffix
62 \fB\-t\fR, \fB\-\-target\-directory\fR=\fIDIRECTORY\fR
63 copy all SOURCE arguments into DIRECTORY
65 \fB\-T\fR, \fB\-\-no\-target\-directory\fR
66 treat DEST as a normal file
68 \fB\-v\fR, \fB\-\-verbose\fR
69 print the name of each directory as it is created
72 display this help and exit
75 output version information and exit
77 The backup suffix is `~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
78 The version control method may be selected via the \fB\-\-backup\fR option or through
79 the VERSION_CONTROL environment variable. Here are the values:
82 never make backups (even if \fB\-\-backup\fR is given)
88 numbered if numbered backups exist, simple otherwise
91 always make simple backups
93 Written by David MacKenzie.
95 Report bugs to <bug\-coreutils@gnu.org>.
97 Copyright \(co 2007 Free Software Foundation, Inc.
99 This is free software. You may redistribute copies of it under the terms of
100 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
101 There is NO WARRANTY, to the extent permitted by law.
103 The full documentation for
105 is maintained as a Texinfo manual. If the
109 programs are properly installed at your site, the command
113 should give you access to the complete manual.