I believe that if you're copying a directory using -r, the -n will only take effect against the directory being copied, not individual files, leaving you with -i which is interactive though, which means you have to stick around to watch it go. Not useful if you're scripting I suppose.
What can work instead if you're copying a source which has multiple directories within, is rsync with the --ignore-existing flag. rsync can also work for local transfer, in fact, I prefer it for copying entire directory/subdir's..
I believe that if you're copying a directory using -r, the -n will only take effect against the directory being copied, not individual files, leaving you with -i which is interactive though, which means you have to stick around to watch it go. Not useful if you're scripting I suppose.
What can work instead if you're copying a source which has multiple directories within, is
rsync
with the--ignore-existing
flag. rsync can also work for local transfer, in fact, I prefer it for copying entire directory/subdir's..It is
cp -i
for interactive queries before overwriting. You can find more withman cp
.