Skip to Content
gnux

-D, --create-leading

Create all leading components of DEST except the last, or all components of --target-directory, then copy SOURCE to DEST.

An option of installx.

Usage

installx -D SOURCE... DEST
installx --create-leading SOURCE... DEST

Details

ShortLongValueDefaultMeaning
-D--create-leadingnonecreate all leading components of DEST except the last, or all components of --target-directory, then copy SOURCE to DEST

Examples

Create the leading directories of the destination

installx -D app.conf out/etc/app/app.conf

Install into a target directory, creating it first

installx -D -t out/bin build/*

Help in the terminal

gnux help installx --create-leading

On this page