Skip to Content
gnux

--no-preserve

Don't preserve the listed attributes.

An option of cpx.

Usage

cpx --no-preserve=string SOURCE... DIRECTORY

Details

ShortLongValueDefaultMeaning
--no-preservestringdon't preserve the listed attributes

Examples

Preserve only the timestamps, or archive without carrying over ownership

cpx --preserve=timestamps photo.jpg archive/ && cpx -a --no-preserve=ownership project/ copy/

Help in the terminal

gnux help cpx --no-preserve

On this page