Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Software > Mac OS X Forums > Mac OS X
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread  
Old Sep 22, 2007, 11:34 PM   #26
pr10n
macrumors newbie
 
Join Date: Sep 2007
Copy unique files found in source folder into destination folder. Existing files in duplicate folder will remain unchanged.

cp -R -n ./source-folder/* ./destination-folder/
pr10n is offline   Reply With Quote
Old Aug 5, 2008, 03:42 PM   #27
ouT-Phaze
macrumors newbie
 
Join Date: Aug 2008
...lol...

You Mac purists make me laugh so hard! I hate to bring up a dead discussion but this is a lot less stupid of a feature that OS X needs!
sure, iTunes is fine for music and sync software is great for backups
but what if all you want to do is update a folder, with a large number of folders inside, each with large numbers of folders inside, with files strewn between them?

I like the idea of a button+move function, like, when you drag and hold option, move becomes merge. That'd be sweet.

But all of you saying 'organizing with Finder is sooooooooooo 1999/Windows' are ignorant to the fact that being able to merge folders quickly and easily by hand is infinitely more efficient than only being able to merge using a console, automated backup utilities, or music/video on iTunes...

You guys are all lame to think that this is not something you would want to do.

It's ok to say Mac is better than windows, I happen to agree.

But to dislike something that's /more efficient/ just because 'all the other mainstream OS'es have it and Mac OS X has always been different, and should remain different' is just non-conformist-ignorant-immature-spite.

Go put on black clothes, get pierced, get a crazy hairdo, and continue non-conforming, children, just be sure to make it back home by midnight or you're all grounded!



Back to the topic... is there any easier way to merge folders than using the stupid terminal? I have to reorganize my stuff way too often to waste time in the terminal.
ouT-Phaze is offline   Reply With Quote
Old Aug 5, 2008, 04:32 PM   #28
jeremy.king
macrumors 601
 
jeremy.king's Avatar
 
Join Date: Jul 2002
Location: Fox Lake, IL
Quote:
Originally Posted by ouT-Phaze View Post
Back to the topic... is there any easier way to merge folders than using the stupid terminal? I have to reorganize my stuff way too often to waste time in the terminal.
You did read the thread? Many solutions can be found above.
jeremy.king is offline   Reply With Quote
Old Aug 5, 2008, 06:28 PM   #29
ouT-Phaze
macrumors newbie
 
Join Date: Aug 2008
Quote:
Originally Posted by kingjr3 View Post
You did read the thread? Many solutions can be found above.
I did, and the only solutions that were listed were command-line or backup utility / sync utility. That's not what I'm looking for.
ouT-Phaze is offline   Reply With Quote
Old Aug 6, 2008, 02:44 PM   #30
jeremy.king
macrumors 601
 
jeremy.king's Avatar
 
Join Date: Jul 2002
Location: Fox Lake, IL
Quote:
Originally Posted by ouT-Phaze View Post
I did, and the only solutions that were listed were command-line or backup utility / sync utility. That's not what I'm looking for.
Read slower.

Quote:
Originally Posted by kingjr3 View Post
PathFinder works like we expect.
jeremy.king is offline   Reply With Quote
Old Aug 7, 2008, 06:16 PM   #31
ouT-Phaze
macrumors newbie
 
Join Date: Aug 2008
Looked at it, it's cool, but it's still software that you have to go through, instead of through the shell. I am well aware of that, and use it, I was just agreeing that there is no reason to say that mac /shouldn't/ have it.
ouT-Phaze is offline   Reply With Quote
Old Aug 9, 2008, 10:55 AM   #32
mason.kramer
macrumors 6502
 
Join Date: Apr 2007
Location: Watertown, MA
Reason #33 that the Finder is crappy - merge behavior of directory copies is borked.

Windows and Nix both do this better than Finder. I really don't think that even as hardcore fanboys, we should invoke the Terminal to atone for the sins of Finder; they are completely different animals, and using the terminal is a workaround, not a fix. Also, please, don't pretend that directory copy ought to be handed out to a 3rd party app or extension.

In reply to those who say that copying at a deeper level is more intuitive if you want to merge, you're missing the biggest problem, which is merging two file hierarchies that are several levels deep. If it's just two top level folders with no children that you want to merge, then a deeper level copy is roughly equivalent to a top level merge. But if you want to merge a folder that contains five folders, each of which contains another five, you're looking at manually recursing into 25 different folders to accomplish the merge, at a huge time waste. The multi-level merge comes up frequently in directory merge usage cases. (Case in point - last week I wanted to merge two iTunes libraries, each of which had some duplicate files and some unique files. In windows, simply dragging one onto the other would have merged these hierarchies intelligently. In OS X, the "preferred" method would been have to use the library manipulation functions of iTunes to get this done - which is orders of magnitude slower than the simple C API that does file comparison and merging in a Nix system. I tried it the itunes way and it was going to take an hour or more (shudder!). I canceled that operation and pulled down the terminal and merged them in 15 minutes. Also, the operation was running at a lower process priority so I could actually continue working while it was happening in the background. And there are plenty of situations where no workaround in the form of a non-finder app is even possible).
mason.kramer is offline   Reply With Quote
Old Aug 10, 2008, 01:16 PM   #33
ouT-Phaze
macrumors newbie
 
Join Date: Aug 2008
Quote:
Originally Posted by mason.kramer View Post
I really don't think that even as hardcore fanboys, we should invoke the Terminal to atone for the sins of Finder; they are completely different animals, and using the terminal is a workaround, not a fix. Also, please, don't pretend that directory copy ought to be handed out to a 3rd party app or extension.
Nice to hear a purist with a good sense of non-retardation.

I do love mac, and I /do/ find it a much better OS than windows.

But Finder, honestly, is a very disorganized way to view and organize your files.

Apple's done everything else right, now they just need to get their heads out of their asses and fix finder. It's had 24 years of development, you'd think that something like this, and a few other things, would not have been overlooked.

And he also has a very good point, even if I /was/ trying to merge two music folders, I've got over 900GB of music (I'm a DJ), and in iTunes that'd take well over a day, but if I could just flat out merge it in finder it'd be as simple as a few hours.

Just because it's what's avaliable to use and was made partly for that use, doesn't mean it's /any/ good /at all/.
ouT-Phaze is offline   Reply With Quote
Old Aug 18, 2008, 03:59 PM   #34
Cleverboy
macrumors 65816
 
Cleverboy's Avatar
 
Join Date: May 2007
Location: Pocket Universe, nth Dimensional Complex Manifold
Wow. I just found this thread, wondering if I was crazy. I'd been down this road MANY times on the Mac, and I'm shocked Apple hasn't "fixed" this issue. I'd already got to "cp"-ing through the Terminal but unless I'm missing something, there was a lot of goofy answers in this thread. Now, in hopes for getting a nice Finder enhancement, I went and downloaded Pathfinder to NO avail. How is THAT supposed to work "like we expect"? I organized a test, and Pathfinder copied the exact same way. Copy one folder into a different folder containg a folder of the same name, and it asks if you want to REPLACE... and if you REPLACE, then files are lost when not merged. Worse, I'm working off of a shared Mac Mini, and also encounter authentication permissions problems that don't resolve well (not even as well as the Finder).

Right now, "CP" is the best route. I'm even thinking about creating an Applescript/Quicksilver solution for myself, though I don't do much with either system right now. Ug. I need GUI relief (Gee You Aye, that is).

~ CB
__________________
Contemplations.com - Never under estimate the power of a good idea!
Website-Toolkit.com - Best of the Net for Website Mastery!
Cleverboy is offline   Reply With Quote
Old Aug 18, 2008, 08:08 PM   #35
snberk103
macrumors 6502a
 
Join Date: Oct 2007
Location: Salt Spring Island
Automator?

Is there a way to do a "merge" with Automator, perhaps? I don't know, haven't tried it as I don't program. But perhaps someone with some experience could work up a script.
snberk103 is offline   Reply With Quote
Old Oct 22, 2008, 10:29 AM   #36
telemachus
macrumors newbie
 
Join Date: Oct 2008
OMG - osx still cannot do this????

Quote:
Originally Posted by kingjr3 View Post
PathFinder works like we expect. The Finder is soooo 1984...
Astonishing. I downloaded Pathfinder to try make this work but alas, it does not do it either. I far more often need to merge folders than to replace one with another, and MUCH prefer the windows method which defaults to a merge of folders. There should at least be the option to do that since it would be very easy to replace if you want, just delete the destination folder first!

Thanks
Mark.
telemachus is offline   Reply With Quote
Old Oct 22, 2008, 10:52 AM   #37
Nightkrawler
macrumors regular
 
Join Date: Sep 2006
Location: Vienna, Austria
Send a message via Skype™ to Nightkrawler
Quote:
Originally Posted by rubber gun on Aqua Taskforce
This isn't a function, but the core behavior of Mac OS X. I did some googling after finding out the hard way after switching from windows that "replacing" a folder chock-full of pictures of a vacation made them all go bye-bye. You'll notice that almost ALL items in your Mac filesystem that are created by or related to apple, be it folders, apps, plugins, extensions, packages, iWork docs, etc. all have a "show package contents", which allows you to, for instance, look through an app's files without opening it. Essentially, they are folders that perform a non-standard function when opened (folders that run, but don't open). On the other hand, identical items not apple-related, such as Word Documents, Music files, Image files, and files from non-apple programs don't have this option. This is because all their contents are encoded in non-apple forms. So this means even if i don't have an app like aperture, i can still open an aperture library, which is a folder. So what does this mean? In unix (the very core of mac os x) anything is a file. A folder is a file. A file is also a file. A folder just so happens to be able to be opened with finder. OK, this doesn't make much sense, but I got the general idea
there is an entry in Aqua Taskforce (a site where you can Find, publish and rate user experience quirks) for it to vote
id like the idea of a merge and skip file option.
__________________
Aqua Taskforce - Find, publish and rate user experience quirks in OS X
iPhone 3G 16GB | MBP C2D 17'' - 2.33GHz - 4GB - x1600 - 200GB 7200 HDD
Nightkrawler is offline   Reply With Quote
Old Oct 22, 2008, 11:08 AM   #38
maxrobertson
macrumors 6502a
 
Join Date: Jun 2006
Location: Jakarta
Quote:
Originally Posted by Maynerd View Post
I'm just thankful I read thru this thread. I could see myself dropping a MP3 folder of a band like Pearl Jam with a couple of albums in it into an existing folder with a dozen albums in it and the two albums write over all of the other albums. I would have gone ape over that! I'm lovin my Mac but jeesh that one just seems so illogical.
Well the replace dialogue box does explain what's going to happen. In Windows it will ask you if you want to merge, in OS X it asks you if you want to replace. I would like them to add merge functionality, though.
maxrobertson is offline   Reply With Quote
Old Oct 22, 2008, 11:13 AM   #39
wordmunger
macrumors 601
 
wordmunger's Avatar
 
Join Date: Sep 2003
Location: North Carolina
I've never missed the "merge" feature -- maybe because I never used it on Windows either. I always assumed copying a folder over a folder with the same name would replace it.

If I intended to do a "merge" instead of a replace, I think I'd worry that the wrong items would be deleted. Suppose Folder A has items 1,2,3, and 4 in it. Folder A' has items 2',4',and 8' in it. Now merge A with A'. (The real files don't have the ' -- that's just a marker to indicate which folder they were in.)

What does the new folder have in it? 1,2,3,4, and 8'? Or 1,2',3,4', and 8'?

What if 4 is a folder with other items in it? How is that handled?
wordmunger is offline   Reply With Quote
Old Oct 22, 2008, 08:04 PM   #40
mysterytramp
macrumors 6502a
 
mysterytramp's Avatar
 
Join Date: Jul 2008
Location: Maryland
Quote:
Originally Posted by wordmunger View Post
I've never missed the "merge" feature -- maybe because I never used it on Windows either. I always assumed copying a folder over a folder with the same name would replace it.

If I intended to do a "merge" instead of a replace, I think I'd worry that the wrong items would be deleted. Suppose Folder A has items 1,2,3, and 4 in it. Folder A' has items 2',4',and 8' in it. Now merge A with A'. (The real files don't have the ' -- that's just a marker to indicate which folder they were in.)

What does the new folder have in it? 1,2,3,4, and 8'? Or 1,2',3,4', and 8'?

What if 4 is a folder with other items in it? How is that handled?
Assuming 2 and 2' have the same file name, merging would leave the target folder with the file with the most recent file modification, correct? I think the issue is what if folder A has 1,2,3,4 and folder A' has 5,6,7,8. The resulting folder should have 1,2,3,4,5,6,7,8. Or at least I think so.

Having spent so much time in front of Mac for 20-plus years, I've never missed not having a folder merge feature. I just wish Apple would provide one in a hurry-up OS update just so MacRumors can reclaim some bandwidth. It seems to be the No. 1 complaint from Windows switchers on this board. I'm surprised someone hasn't complained that the beachball ought to be an hourglass.

BTW, this is the kind of thing AppleScript could solve.

mt


mt
__________________
What looks large from a distance, close up ain't never that big.
mysterytramp is offline   Reply With Quote
Old Nov 6, 2008, 05:46 PM   #41
Mythobeast
macrumors newbie
 
Join Date: Nov 2008
Quote:
Originally Posted by wordmunger View Post
I've never missed the "merge" feature -- maybe because I never used it on Windows either. I always assumed copying a folder over a folder with the same name would replace it.

If I intended to do a "merge" instead of a replace, I think I'd worry that the wrong items would be deleted. Suppose Folder A has items 1,2,3, and 4 in it. Folder A' has items 2',4',and 8' in it. Now merge A with A'. (The real files don't have the ' -- that's just a marker to indicate which folder they were in.)

What does the new folder have in it? 1,2,3,4, and 8'? Or 1,2',3,4', and 8'?

What if 4 is a folder with other items in it? How is that handled?
The answer is, that depends on who is being merged onto who. There are numerous methods of merging, and the one used in Windows is, I believe, called a Subscribe. If you drop A onto A', that would result in 1,2,3,4, and 8'. If you were to drop A' onto A, however, you would wind up with 1,2',3,4', and 8'. In both cases the dropped versions will supersede the target versions, but no files will be deleted.

If 4 is a folder with other items in it, then the whole thing recurses, with items in the dropped 4 overwriting those in the target 4.

OMG I HATE THIS MAC "FEATURE". I lost a 34 gigabyte source repository to it. I saw the warning, but it's similar enough to Window's warning "files with the same name will be replaced, do it anyway?" (and, no, the word "merge" isn't used) that I thought that no OS as user-savy as OS X could POSSIBLY be so retarded as to delete a huge directory structure like that. Oh, silly me.

Unfortunately I regularly have to merge large directory structures in order to get the most recent updates, but without losing older stuff. I'm a little peved that I have to hunt down a third party piece of functionality in order to do something so simple.
Mythobeast is offline   Reply With Quote
Old Nov 9, 2008, 08:52 AM   #42
mason.kramer
macrumors 6502
 
Join Date: Apr 2007
Location: Watertown, MA
Quote:
Originally Posted by Mythobeast View Post
The answer is, that depends on who is being merged onto who. There are numerous methods of merging, and the one used in Windows is, I believe, called a Subscribe. If you drop A onto A', that would result in 1,2,3,4, and 8'. If you were to drop A' onto A, however, you would wind up with 1,2',3,4', and 8'. In both cases the dropped versions will supersede the target versions, but no files will be deleted.

If 4 is a folder with other items in it, then the whole thing recurses, with items in the dropped 4 overwriting those in the target 4.

OMG I HATE THIS MAC "FEATURE". I lost a 34 gigabyte source repository to it. I saw the warning, but it's similar enough to Window's warning "files with the same name will be replaced, do it anyway?" (and, no, the word "merge" isn't used) that I thought that no OS as user-savy as OS X could POSSIBLY be so retarded as to delete a huge directory structure like that. Oh, silly me.

Unfortunately I regularly have to merge large directory structures in order to get the most recent updates, but without losing older stuff. I'm a little peved that I have to hunt down a third party piece of functionality in order to do something so simple.
Ehhhhh...barf. Sounds like you are doing version control by hand, without backups. Try SVN. Also, be more careful with your data. But I do agree, that none of this mitigates the glaring problem with mac OS x.
mason.kramer is offline   Reply With Quote
Old Feb 5, 2009, 09:41 AM   #43
Pyrobon
macrumors newbie
 
Join Date: Jul 2007
I just deleted 150 gb of video from my external hard drive. Tried a bunch of recover methods. Nope, i'm being punished for my stupidity.
Pyrobon is offline   Reply With Quote
Old Feb 7, 2009, 04:58 PM   #44
Corvillus
macrumors member
 
Join Date: Jan 2008
Quote:
Originally Posted by maxrobertson View Post
Well the replace dialogue box does explain what's going to happen. In Windows it will ask you if you want to merge, in OS X it asks you if you want to replace. I would like them to add merge functionality, though.
Personally I think the replace dialog box would be the place to implement this feature actually. Just make it so that the warning has 3 buttons instead of 2 for a directory replace.

Stop, Replace, Merge
Corvillus is offline   Reply With Quote
Old Feb 22, 2009, 02:34 PM   #45
KelchM
macrumors regular
 
Join Date: Aug 2007
Quote:
Originally Posted by Corvillus View Post
Personally I think the replace dialog box would be the place to implement this feature actually. Just make it so that the warning has 3 buttons instead of 2 for a directory replace.

Stop, Replace, Merge
Yep. This is how it should be. This is seriously like a weekly annoyance for me.
KelchM is offline   Reply With Quote
Old Apr 13, 2009, 04:13 AM   #46
opeter
macrumors 6502a
 
opeter's Avatar
 
Join Date: Aug 2007
Location: Slovenia (EU)
Do someone knows if there will be any "merge" function in MacOS Snow Leopard?
__________________
My cartoon hero: www.dangermouse.org
opeter is offline   Reply With Quote
Old Jun 21, 2009, 03:12 PM   #47
Ti_Poussin
macrumors regular
 
Join Date: May 2005
Quote:
Originally Posted by opeter View Post
Do someone knows if there will be any "merge" function in MacOS Snow Leopard?
Let's hope so, I am wishing that since X.0, and haven't seen it yet
Please let it be the default behavior and an alt, cmd and/or ctrl key combo for replace.

Path Finder can do it, but I'm not a big fan of it.
__________________
iMac Core2D 2.16 GHz 20", 250Go SATA/Firewire HD, iPhone 3G, Logitech Z-680 speaker set, MS mouse 5 bouttons
Ti_Poussin is offline   Reply With Quote
Old Jun 21, 2009, 03:21 PM   #48
mason.kramer
macrumors 6502
 
Join Date: Apr 2007
Location: Watertown, MA
I'm pretty sure we would have heard about it if that feature were there.
__________________
3ghz MP Octo | 9 GB | 4x500GB HDD | 30" ACD
2ghz MB Black| 2 GB | 120GB
Keyboard Shortcuts Galore - Save yourself some time
mason.kramer is offline   Reply With Quote
Old Jun 22, 2009, 01:04 AM   #49
Corvillus
macrumors member
 
Join Date: Jan 2008
Quote:
Originally Posted by Ti_Poussin View Post
Let's hope so, I am wishing that since X.0, and haven't seen it yet
Please let it be the default behavior and an alt, cmd and/or ctrl key combo for replace.

Path Finder can do it, but I'm not a big fan of it.
I doubt it. I think this is one of the features that's simply a (bad) design decision they made, not something they have any intention of fixing because they don't think it's broken.

Extremely annoying.
__________________
2.0GHz MacBook (Unibody), 4GB DDR3 @ 1067MHz, 500GB HDD @ 7200RPM
Corvillus is offline   Reply With Quote
Old Jun 22, 2009, 02:50 AM   #50
keithOrbit
macrumors member
 
Join Date: Apr 2008
mac os x's kernal is unix, not windows, so it different, terminal command can do it ,but it not easy.
__________________
Find your way,Find your style!
http://www.mactale.com
keithOrbit is offline   Reply With Quote

Reply

Mac Forums > Apple Software > Mac OS X Forums > Mac OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:42 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 2002-2009, MacRumors.com, LLC