How do I merge folders?

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

  1. npriess macrumors regular

    Nov 12, 2008

    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


    Jul 24, 2006
    The Ivory Tower (I'm not coming down)
    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


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


    Jul 26, 2004
    Montreal, QC
    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