--- layout: page category_title: Intermediate commands category-page: intermediate author: Marco Farace title: install ---

Use: install binaries, move or copy files

The file(s) are copied to the target file or directory. If the destination is a directory, then the file is copied into directory with its original filename. If the target file already exists, it is either renamed to file.old if the -b option is given or overwritten if permissions allow. An alternate backup suffix may be specified via the -B option's argument. Basic syntax is in the form install [OPTION]... SOURCE DEST
$install -D /source/folder/*.xyz /destination/folder
this line of code copies all .xyz file from /source/folder to /destination/folder

Here are just some of the most useful options for this command: