This discussion is archived
1 Reply Latest reply: Nov 22, 2012 1:31 AM by Pascal Kreyer - Oracle RSS

cp -n equivalent in Solaris (copy without overwrite) ?

guyshilo Newbie
Currently Being Moderated
Hello

I need to take all files in directory A and copy them into directory B, but without overwriting existing files in B.
In Linux there is an option "copy -n" that does that, but it does not work in Solaris.
Is there a similar option in Solaris ?

Thanks

Guy

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points