Skip to Content
gnux

--parents

Use the full source file name under DIRECTORY.

An option of cpx.

Usage

cpx --parents SOURCE... DIRECTORY

Details

ShortLongValueDefaultMeaning
--parentsnoneuse the full source file name under DIRECTORY

Examples

Recreate the source paths under a backup directory

cpx --parents src/app/main.go src/lib/util.go backup/

Help in the terminal

gnux help cpx --parents

On this page