install

Name

install -- copy files and set attributes

Synopsis

install [OPTION]... SOURCE DEST           (1st )
install [OPTION]... SOURCE... DIRECTORY   (2nd )
install -d [OPTION]... DIRECTORY...       (3rd )

Description

In the first two formats, copy SOURCE to DEST or multiple SOURCE(s) to the existing DIRECTORY, while setting permission modes and owner/group. In the third , create all components of the given DIRECTORY(ies).

Standard Options

--backup[=CONTROL]

make a backup of each existing destination file

-b

like --backup but does not accept an argument

-d, --directory

treat all arguments as directory names; create all components of the specified directories

-D

create all leading components of DEST except the last, then copy SOURCE to DEST; useful in the 1st

-g, --group=GROUP

set group ownership, instead of process' current group

-m, --mode=MODE

set permission mode (as in chmod), instead of rwxr-xr-x

-o, --owner=OWNER

set ownership (super-user only)

-p, --preserve-timestamps

apply access/modification times of SOURCE files to corresponding destination files

-s, --strip

strip symbol tables, only for 1st and 2nd formats

-S, --suffix=SUFFIX

override the usual backup suffix

--verbose

print the name of each directory as it is created