Skip to Content
gnux

-f, --force

If an existing destination file cannot be opened, remove it and try again.

An option of cpx.

Usage

cpx -f SOURCE... DIRECTORY
cpx --force SOURCE... DIRECTORY

Details

ShortLongValueDefaultMeaning
-f--forcenoneif an existing destination file cannot be opened, remove it and try again

Examples

Replace a read-only destination file

cpx -f new.conf readonly.conf

Help in the terminal

gnux help cpx --force

On this page