Merge Folders

Joined
Jun 8, 2008
Messages
213
Reaction score
6
Points
18
Hi, just got my new macbook today :D

Quick question: when I copy a folder into a directory with a folder of the same name in it, it overwrites the folder - in Windows it merges the two, how do I merge the two in Mac OSX?

Thank you.
 
Joined
Oct 22, 2007
Messages
8,967
Reaction score
287
Points
83
Location
London
Your Mac's Specs
Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver
do the two folders have totally different files, or do you want to synchronise the two folders where they may contain files of the same name?
 
OP
M
Joined
Jun 8, 2008
Messages
213
Reaction score
6
Points
18
Syncronise the two folders, overwriting only where there are actually two files of the same name.



So, let's say this is folder 1:
- sub-folder a
- - file a
- - file b
- sub-folder b
- - file c

And this is the second folder:
- sub-folder a
- - file d
- - file e
- sub-folder c
- file f

I want one folder with this content:
- sub-folder a
- - file a
- - file b
- - file d
- - file e
- sub-folder b
- - file c
- sub-folder c
- - file f
 
Joined
Oct 22, 2007
Messages
8,967
Reaction score
287
Points
83
Location
London
Your Mac's Specs
Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver
It's a pity OS X doesn't do this as easily as windows. UNIX does have synchronising built in but you usually have to use the terminal

I would recommend RsyncX, give it a try (but back up first to make sure it is doing what you want)
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
What do you mean? mv can, and does, do this. Are basic terminal commands really that bad a thing?

so mv folder2/* folder1
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top