how to move and merge folders in OSX Mavericks?

Discussion in 'OS X Mavericks (10.9)' started by mrjayviper, May 10, 2014.

  1. mrjayviper macrumors regular

    Joined:
    Jul 17, 2012
    #1
    I have 2 subfolders (which in itself contains many subfolders) in my main folder.

    e.g.
    Code:
        main folder
        == subfolder1
        ==== folder1
        ==== folder2
        == subfolder2
        ==== folder1
        ==== folder3
        ==== folder4
    
    some things in subfolder2 are already in subfolder1. If I drag and drop subfolder2 into subfolder1, it will ask me to replace existing subfolders thus losing things. The only way to merge the folders that I know of is to press the option key. But this only makes a copy. This still requires me to delete the unneeded folder.

    I want to move subfolder2 into subfolder1 and merge their contents. How can I do it? Thanks much :)
     
  2. talmy macrumors 601

    talmy

    Joined:
    Oct 26, 2009
    Location:
    Oregon
    #2
    Learn to use the command line. This is easily accomplished there.

    ditto -V subfolder2 subfolder1

    will do it (if you are in Main Folder).

    Then to delete subfolder2:

    rm -R subfolder2
     

Share This Page