install [-bCcpSsUv] [-B suffix] [-D destdir] [-f flags] [-g group] [-h hash]
[-l linkflags] [-M metallog] [-m mode] [-o owner]
[-T tags] file1 file2
install [-bCcpSsUv] [-B suffix] [-D destdir] [-f flags] [-g group] [-h hash]
[-l linkflags] [-M metallog] [-m mode] [-o owner]
[-T tags] file1 ... fileN directory
install -d [-Uv] [-D destdir] [-g group] [-h hash] [-M metallog]
[-m mode] [-o owner] [-T tags] directory …
Files are copied (or linked with -l† ) to the target file or directory.
If the destination is a directory the file is copied into directory with its original filename.
If the target file exists, it is either renamed to file.old with -b or
overwritten if permissions allow.
An alternate backup suffix may be specified using -B argument.
-c |
By default, file flags are preserves except nodump .
Installing /dev/null creates an empty file.
$STRIPBIN specifies the program to run with -s.$DONTSTRIP presents causes -s to be ignored .
INS@xxxxx When using -S or -s with -C or -p,
temporary files defined by mkstemp are created in the target directory.
chflags(1), chgrp(1), chmod(1), cp(1), mv(1), strip(1), mmap(2), getgrnam(3), getpwnam(3), chown(8)
BUGS
Temporary files may be left in the target directory if install exits abnormally.
File flags cannot be set by fchflags(2) over a NFS file system. Other file systems do not have flags.
The install will warn when flags could not be set.
-v falsely says a file is copied when -C snaps hard links.