Skip to Content
gnux

-T, --no-target-directory

Treat DEST as a normal file.

An option of cpx.

Usage

cpx -T SOURCE... DIRECTORY
cpx --no-target-directory SOURCE... DIRECTORY

Details

ShortLongValueDefaultMeaning
-T--no-target-directorynonetreat DEST as a normal file

Examples

Copy a template's contents into an existing directory, not inside it

cpx -rT template/ newproject/

Help in the terminal

gnux help cpx --no-target-directory

On this page