How to copy with these options?

Discussion in 'HOWTO-Related Questions' started by dealspiggy, Oct 8, 2008.

  1. dealspiggy

    dealspiggy New Member

    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
    Last edited: Oct 8, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

    Yes, you can.

Share This Page