PDA

View Full Version : How to copy with these options?


dealspiggy
8th October 2008, 23:06
I have two folders with identical names (e.g. images) and similar structures & files. Some files/sub-directories in one folder are complementary to those in the other. Some identical files are present in both folders. So I want to combine the two folders to make it complete without having to overwrite identical files (same name & size).

Can I just run 'cp -r' command?

btw: I use CentOS 5

falko
9th October 2008, 19:45
Yes, you can.