ncp
ncp copied to clipboard
Overwrite does not work with file to directory or directory to file
Let's say I want to copy the following files: a.txt, b.txt, c.txt If the target destination has a directory named b.txt ncp will find that as an error even if clobber is set as true.
The other way around is even weirder. Eg. I want to copy the following folders: a, b, c If the the target destination has a file named "b" it will silently skip the folder called "b" and finishes the job without overwriting the target or throwing an error.