Skip to Content
gnux

--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... DEST

Details

ShortLongValueDefaultMeaning
--backupCONTROL (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/tool

Help in the terminal

gnux help installx --backup

On this page