--backup
Make a backup of each existing destination file; CONTROL is none (off), simple (never), existing (nil) or numbered (t).
An option of installx.
Usage
installx --backup[=CONTROL] SOURCE... DESTDetails
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--backup | CONTROL (optional) | make a backup of each existing destination file; CONTROL is none (off), simple (never), existing (nil) or numbered (t) |
Examples
Install a new binary but keep numbered copies of the ones it replaces
installx --backup=numbered -m 755 build/tool /usr/local/bin/toolHelp in the terminal
gnux help installx --backup