How do I merge folders?

Discussion in 'Mac Basics and Help' started by npriess, Feb 23, 2009.

  1. npriess macrumors regular

    Joined:
    Nov 12, 2008
    Location:
    Denmark
    #1
    Hi,

    Sometimes I have had 2 folders with some content, which I would like to merge.

    For example two itunes music folders. Is there any way to transfer all files from folder 1 to folder 2 but not overwrite those that already exist?

    I do also have some documents folders where I would like to do the trick if it is possible.
     
  2. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #2
    Why not just use drag and drop? If you have two files that have the same name. just click "Don't Replace."
     
  3. MacBoobsPro macrumors 603

    MacBoobsPro

    Joined:
    Jan 10, 2006
    #3
    Or 'replace' as they are both the same it doesnt matter. :)
     
  4. BlueRevolution macrumors 603

    BlueRevolution

    Joined:
    Jul 26, 2004
    Location:
    Montreal, QC
    #4
    Because this will not merge the folders. Windows does this; Mac OS X does not. How you would I don't know, except maybe to do it in Windows, but trying to combine them in Finder will only result in one folder completely deleting the contents of the other. There may be a UNIX command that can do this, but I don't know it.

    Ah, I tell a lie. You can do this from Terminal by running:

    sudo cp -Rn [drag the source folder into the Terminal window] [drag the destination folder into the Terminal window and backspace over the trailing slash]
     

Share This Page