-n, --no-clobber
Do not overwrite an existing file.
An option of cpx.
Usage
cpx -n SOURCE... DIRECTORY
cpx --no-clobber SOURCE... DIRECTORYDetails
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-n | --no-clobber | none | do not overwrite an existing file |
Examples
Copy into a directory named first, without overwriting anything
cpx -n -t ~/Documents report.pdf slides.pdfHelp in the terminal
gnux help cpx --no-clobber