-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... DIRECTORYDetails
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-f | --force | none | if an existing destination file cannot be opened, remove it and try again |
Examples
Replace a read-only destination file
cpx -f new.conf readonly.confHelp in the terminal
gnux help cpx --force