Apr
6

Braindead Finder Behaviour

Filed under: Uncategorized | Tags: , | April 6th, 2005
Post

Because of what I consider totally braindead behivour in the OS X Finder I appear to have lost about 60 pictures from my trip. When I offload pictures from card I generally drag the 100PENTX folder from the card onto my desktop and I leave things in that folder until I have a chance to compress the pictures, divide them into days, and upload them. Well OS X does this crazy thing where when you drag the folder onto the desktop it asks you if you want to replace the folder with the same name. On Windows I always say yes and it just adds the new pictures to those already in the folder. In OS X it apparently means delete the folder that’s already there with no way to recover it and replace it with the one you’re dragging. This happened to me a few times and I couldn’t figure out what was happening, luckily though I had backups on my iPod. Unfortunately going back over the pictures from the trip it seems a day is missing. Fortunately it was a day of mostly travel so I’ll live, but still a bummer. Updates: John Gruber weighs in, and here’s the exact message in Windows.

New update: Robert Scoble put me in touch with Bob Day who had this to say:

If the question is just “Why do merge by default?”, there are lots of
answers.

1. Because it maps well to operations that users are likely trying to
accomplish (see the scenario of dropping a picture folder from a
camera).
2. Folder replace can be done by deleting the destination folder first,
and then copying. If you have replace be the primary method, then merge
becomes a very tedious process.
3. Because it is less destructive?

Please realize that having a camera that uniquely assigns picture
numbers until you reset them becomes very important with this merge
behavior. If your pictures are all uniquely named, the default of
replacing files with the same name will allow you to not lose any files.

Also realize that this is a complicated scenario for most users. Almost
any choice is going to be bad for some users.

And yes, the behavior is a concious choice. We had to implement this
feature in Windows 95.

I followed up that “So before that [Windows 95] folders were deleted and
overwritten?” Bob responded: “I need the source code to Windows 3.1 to confirm. Anybody remember “File
Manager”? wow, that is old.” And dug up:

Ok, archeological discovery over. (wipes the dust off his sleeves)

Win3.1 would say the same thing for folders as it did for files:
“Replace file with file

And if you said “yes” for a folder, it would try to delete the
folder first, which would error out if the directory
wasn’t empty. Not sure what the error message is there.

I would love to get similar background for the Mac OS X behaviour.

190 Responses

Roy Schestowitz | April 6th, 2005 @ 4:19 pm

This behaviour must have been inherited from OS 9. Linux does not have this problem.

Yesterday I spent hours driving myself mad when I realised I had lost some text from my Palm 4 months ago. No back-ups could save me. Learn to forget…

Tim Germer | April 6th, 2005 @ 4:32 pm

Matt,

No way around it, the Finder blows. With all of Apple’s Usability Experts they should have nailed this issue YEARS ago. The loss of information because of the lack of feedback from an interface is asinine.

Tim

Chris Pederick | April 6th, 2005 @ 4:48 pm

This caught me out after switching as well, but it does make it easy to install new programs because the program folder is completely replaced with the new version rather than merged as it would be on Windows.

Mike D. | April 6th, 2005 @ 5:17 pm

I’m totally biased here because I’ve been a Mac guy my whole life, but doesn’t that behavior seem perfectly logical? It does to me. Drag a folder named “Whatever” to an area where a folder named “Whatever” already exists and the original folder gets completely replaced. It’s the same behavior that would occur on a Mac (or a PC) if you tried the same thing with a file instead of a folder. Things with the same names overwrite each other (and the dialog box is clear in asking you to confirm this). Also, treating folder drags and file drags differently can be a bit dangerous because some things look like files but are actually very folderlike (app “packages” on OS X), and some things look like folders but are actually files (zip files on PCs).

I think the PC behavior you speak of, while handy, is probably a shortcut Microsoft added to Windows at some point. It would be interesting to find out which way of doing things appeared first, but I would guess it is probably the Mac way dating all the way back to the first Mac. Does anybody know when Windows first got this behavior? Windows 95 maybe?

Neil M. | April 6th, 2005 @ 5:26 pm

Gotta agree with Mike D. on this one…Finder tells you that your action will replace the old folder if you move forward–why isn’t it logical that _replacing_ the folder would result in losing everything that’s inside it, just like in the real world? The Windows behavior isn’t consistent with itself, or with the real world–and the fact that Linux does the same thing just means it mimics the wrong example.

Pete Prodoehl | April 6th, 2005 @ 5:46 pm

Ah, one of those switchers are ya? See, us Mac users consider the Windows way the wrong way, and the Mac way the right way. Obviously it’s another feature Microsoft copied from Apple but didn’t quite get right.

Matt | April 6th, 2005 @ 5:49 pm

Even if the Mac way is the right way I was genuinely confused and still miss my pictures. I never read file dialogs, really.

Nick | April 6th, 2005 @ 5:49 pm

I ran into this same thing Matt when helping a friend update his WP. I said…sure just hit replace. Everything in the folder that doesn’t have a new version will still be there. I guess I shouldn’t have said that since I know nothing about Macs.

I much prefer the Windows way. If it’s going to delete files it should ask you if you want them deleted. Replace doesn’t mean delete! Overwriting files with new versions is perfectly OK, but replacing a file that is there with nothing? Now that’s nothing like the real world.

75th Trombone | April 6th, 2005 @ 5:50 pm

Precedent or not, the Mac way sucks. The situations where I want to merge folders outnumber those where I want to overwrite folders at least 10 to 1, and I can’t imagine this being significantly different for other people. Even when it comes to programs, most of the file manipulation I find myself doing on them involves copying big sets of extension files which require the subdirectory structure to stay intact.

On the other hand, the real problem is the design of the prompt. Instead of a wordy dialogue with “Yes” or “No” options, it should be concise with “Merge Folders” or “Replace Folders” options.

Roy Schestowitz | April 6th, 2005 @ 5:52 pm

Under any circumstance, it is more logical to avoid erasure of files. Finder easily diposes of files; maybe it should be called Loser, not Finder.

Mike: your opinion suggests that “easier-to-implement” is better. That’s the same cause for, e.g. image2.jpg appearing after image10.jpg. It’s simply a common ‘bug’ that became a norm.

David Chen | April 6th, 2005 @ 5:54 pm

I always though it a little odd that Windows’ version of replacing a folder didn’t actually replace it; and I don’t even have an Apple computer. I’d like one, though, heh. The Apple way does make more intuitive sense to me, though it is less convenient. I still dislike Finder for other reasons, however. I am curious… while it is easy to mimic the Apple way by first deleting the folder and then dragging it in Windows, how do you do the other way on Mac OS X?

David Yeiser | April 6th, 2005 @ 6:01 pm

Kind of off subject, but did you use your laptop as a go between with the pictures and the iPod, or did you use an apparatus that let you directly connect your camera to the iPod? I know of one product that Belkin makes that lets you do this, but my camera wasn’t listed as one of the guaranteed compatible cameras. I’m going to Europe at the end of this summer and I would rather store pictures on my iPod than buy 4 or 5 more memory cards. (I’m not taking my laptop).

Matt | April 6th, 2005 @ 6:04 pm

I used the Powerbook as a conduit.

Neil M. | April 6th, 2005 @ 6:15 pm

Well, regardless of “brain dead” OS behavior or not, I’m sorry you lost photos, Matt. Can’t help but say that dialogs are there for a reason, though…and I say this as a person who’s often had to fire up file recovery tools on ANY platform for “brain dead” user behavior!

Dave M. | April 6th, 2005 @ 6:22 pm

If Apple’s way of “replacing” a folder is the logical way, why is it that Apple is the only platform doing this? Every other platform I have ever used, does this the “overwrite” way. Amiga, ProDOS, Irix, Sun, RedHat, Windows.

I have noticed that Apple does a lot of things different from others. I don’t necessarly consider this a bad thing, however, sometimes it can be a real pain in the a**. Take black being #$FF and white being #$00. I understand the logic behind this being done back when the Macintosh first came out, but considering the hardware has become so sofisticated, I really don’t see the need to keep using these values. Yet they do.

On the good side, the iPod and the way it browses the music on it is different and way better than any other device I have seen.

Pete, did it ever occur to you that maybe Apple just miscopied Xerox’s code? Hmmm?

Mike D.: So let me see if I understand this. In the command line (or what ever Apple calls it), if you type:
cp 100PENTX desktop (meaning copy 100PENTX to the directory desktop)

will “replace” the directory 100PENTX in the folder desktop the contents of the source 100PENTX?

Gabe T. | April 6th, 2005 @ 6:48 pm

I’ve never understood why Windows users think “replace” should mean “merge”.

JErm | April 6th, 2005 @ 8:05 pm

I don’t thin we should blame Mac or Windows for this. It’s simply what you’re used to. If you switch to something else then you gotta learn to adapt to it. I’m sorry you lost your photos. It would drive me mad if I did mine.

Thomas | April 6th, 2005 @ 9:17 pm

That’s really bad luck - but Apple’s wording is pretty exact, right? I was recently caught by this in a different manner - see here for details. I exchanged some e-mails with Panic and they told me that they had changed the programs behavior to make it more finder-like. But they are considering offering the old way as an option now…

75th Trombone | April 6th, 2005 @ 9:30 pm

Gabe,

Nothing here suggests that we think “replace” should mean “merge.”

david | April 6th, 2005 @ 10:13 pm

If you’re a Windows user: Don’t try moving a folder on top of another with the same name - Mac OS X will replace the entire folder … This is a very significant difference between the Finder and Windows Explorer that catches most people at least once, and is simply a matter of different traditions (plus the UNIX underpinnings of Mac OS X, where things have worked like this from time immemorial).

- How to Switch to the Mac

Mike D. | April 6th, 2005 @ 10:28 pm

“On the other hand, the real problem is the design of the prompt. Instead of a wordy dialogue with â€"Yes” or â€"No” options, it should be concise with â€"Merge Folders” or â€"Replace Folders” options.”

Yes, absolutely. This is probably what should be done on both platforms really, since there seems to be a legitimate use for both functions.

Someone asked how Mac users accomplish merges. Generally I just open up the folder, hit Select All, and drag all the files to the destination folder. Pretty easy. But that brings up the question, does the Windows behavior of not replacing directories work recursively as well? Meaning, if I drag a folder to where a folder of the same name is (in order to do a merge), what happens if I have ten levels of folders nested inside of there? Do all of them honor the merge behavior if folders of the same name and structure exist in the source? I suppose they should, right? This seems all very out of the reach of my simplistic Mac mind. I’d rather just replace. :)

Cam | April 7th, 2005 @ 12:00 am

Mr Gruber has a few thoughts on this. Personally, I miss the Windows-type replacement… probably the only thing I do miss from Windows.

Brett M. | April 7th, 2005 @ 12:44 am

The Mac OS rarely ever has a ‘wordy dialogue with “Yes” or “No” options.’ The dialogue in question clearly states: “An older item named “My Picture Folder” already exists in this location. Do you want to replace it with the newer one you are moving?” Then you have buttons with “Stop” and “Replace” not “Yes” or “No” like Windows does. Windows dialog boxes are so unituative that you usually need to read them more than once to obtain any meaning. That’s probably why Matt says he never reads them.

I don’t understand why anyone would think performing an action with a folder and the same action with a file would get different results. If you drop a MS Word file onto a folder that contains an item with the same name, it is replaced, not merged into the same named document. The same should happen with a folder, whether it’s what you want to do 1 out of 10 times or not. It’s all about consistency in the UI. That’s why when you hit Command-N in the Finder, you get a new Finder window, not a new folder. Even though you may make new folders much more often, Command-N is the new window shortcut in all other apps, so the Finder complies.

Just because Windows has a larger user base doesn’t mean that all of its conventions are “normal” or even logical.

Michael Ward | April 7th, 2005 @ 1:51 am

The sensible option?

“You already have a folder with that name. Would you like to replace the original, merge the two or canel?

Replace | Merge | Cancel”

Obviously the wording can be tweaked or changed for usability’s sakes, but you get the idea.

Michael Ward | April 7th, 2005 @ 1:52 am

Damn it, should read all the comments… that Mike D… what right does he have to have my opinion firtst. (send us one of those iPod shuffles in compensation ;)

hugo | April 7th, 2005 @ 2:40 am

Actually I think the Finder behaviour is just fine - it’s doing what it is supposed to do and that is replacing a same-named object regardless of the objects format. But what the finder does wrong is that on replacing it doesn’t trash the old object but completely removes it. _That’s_ a big useability bug in my book. Objects should never be discarded directly, they should allways go through the trash.

Pete Prodoehl | April 7th, 2005 @ 3:25 am

Dave M. says “Pete, did it ever occur to you that maybe Apple just miscopied Xerox’s code? Hmmm?”

No, because Apple really popularized the personal computer, not Xerox. I’ve never used a Xerox computer and don’t know anyone who has.

None the less, I am sorry Matt lost his files, and it would be nice to have a “merge” or “replace” option, though Apple wouldn’t do it because it probably could not be done elegant enough for them. (Third party hack perhaps?)

Bill | April 7th, 2005 @ 3:52 am

I also agree that the Mac way makes more sense, but I’m also biased. Replace means exactly what it means: if you replace your car with a new one, this implies that you don’t have your old car or the things that make up the car. You don’t have a bastardized car made of both cars.

To merge, you drag the ITEMS… not the folder, as folders are treated as files… that you want to merge into the folder in which you want them merged. This will override same-named items (you will be prompted regarding that), and add any items that do not have a name in the set of names of items in the destination folder.

As a person who works in HCI, I must say that the Mac way is correct and consistent with the definition of the word replace. However, reworking the dialogue to be even more drastic may be a compromise:

Presently there is one dialogue for both files and folders. The OS could probably detect which replace operation you are doing, and when you are doing a folder, have the dialogue go from saying:

An older item named “foo” already exists in this location. Do you want to replace it with the newer one you are moving?

to:

A folder named “foo” already exists in this location. Do you want to replace it and its contents with the one you are moving?

Perhaps the older/newer convention could be kept as well. But either way, the merge operation only takes one extra step - dragging the contents of the source folder instead of the source folder itself. Choices of Merge, Stop, and Replace, while l33t and such, are probably not good to introduce at this point.

Jamie | April 7th, 2005 @ 3:58 am

Sorry you lost your photos but I have to agree with everyone that in the future reading the dialogue boxes might be pertinant. In the real world when you REPLACE your car, its gone. You don’t keep old things like the 8 Track and just add in the new things like the CD player, all the old stuff is gone.

Blurg | April 7th, 2005 @ 4:07 am

â€"On the other hand, the real problem is the design of the prompt. Instead of a wordy dialogue with â€"Yes” or â€"No” options, it should be concise with â€"Merge Folders” or â€"Replace Folders” options.”

Actually, when you replace a folder on the Mac the buttons say “Stop” or “Replace.” This is another advantage that Mac has over Windows. The buttons often give you a description of the action you are about to perform without you having to read the description, whereas on Windows typically there is a “Yes” and “No” button. And rest assured, when the Mac says “Replace” it means “Replace.” If it was going to merge the folders it would have said “Merge.” The Mac actually does what it says it’s going to do, unlike Windows.

“…did it ever occur to you that maybe Apple just miscopied Xerox’s code? Hmmm?”

Please, Apple didn’t copy Xerox’s code like Microsoft copied Apple’s code. Sure, Apple was inspired by the Xerox design, but their implementation was their own. Microsoft, on the other hand, actually did use Apple code. For a more thorough discussion of this, see the following link: http://www.maccare.com.ar/historia_ing.htm

Alfredo Octavio | April 7th, 2005 @ 4:43 am

Amazing what people will complain and the debate about. Despite de fact that replace has the precise meaning given by the Finder, the correct behaviour for the user would be to produce a dialog asking what is it you want: Merge, Replace, Cancel. So… really…. both sides are right :-P

matthew | April 7th, 2005 @ 4:47 am

Michael had that too. fwiw, Im a Mac user and the Macs way makes sense too me whereas I wouldnt trust windows to do it properly.

75th Trombone | April 7th, 2005 @ 5:08 am

Regarding my own last comment,

“Nothing here suggests that we think â€"replace” should mean â€"merge.””,

I actually hadn’t picked up on the fact that Windows uses the word “replace” in its prompt. But when you read the prompt text (which you should never have to do), it makes a very little bit of sense; “replace” refers to the overwriting of files of the same name.

If you think of “replace” as some kind of abstract function, and “folder” as a sort of parameter to that function, then the term “Folder Replace” almost works. You Mac-heads are just obsessed with decipherable English. ;)

Chilton | April 7th, 2005 @ 6:37 am

Replace is ‘merge’ on non-Mac platforms? That’s just plain sdtiufpfiedrent.

Yesterday, I noticed my the expiration date on a carton of milk was a few days old, so I went out and bought a new carton. Once I was back home, I decided to replace the old milk carton with the new one, so I poured the new milk into the old carton, mixing the two together.

My son is a bit scared of his new fish. The old one died, so I replaced it with a new one. It took forever to do, as fish scales don’t adhere to super glue that well.

I then realized a few seconds ago that I used a word with possibly negative connotation when I could have used ‘different’. So I replaced it.

I honestly cannot think of a single instance where I could use the world ‘replace’ when I mean ‘merge’.

ast3r3x | April 7th, 2005 @ 6:39 am

Lets just look at this logically for a second.

In windows, when you drag a file called music.mp3 into another folder that already contains music.mp3 what happens?

In windows, when you drag a folder called ‘music’ into anther folder that alrady contains ‘music’ what happens? If they merge, what exactly are you replacing?

It’s a question of uniformity.

I never knew about the merge functionality of windows, and I do kinda wish that there was an option for that on my mac, but it doesn’t make sense* to do that when you want to replace something.

As far as usability goes, I think ‘cancel’ is the default option, so it’s non-destructive as it should be in the Finder.

*If you say you replaced your car, that doesn’t mean you welded them together ;)

Terry Dontje | April 7th, 2005 @ 6:39 am

By any chance did the finder move the deleted files in the trash?

Ryan Waddell | April 7th, 2005 @ 6:42 am

The windows dialog box specifically says “This folder already contains a folder named . If the files in the existing folder have the same name as the files in the folder you are moving or copying, they will be replaced. Do you still want to move or copy the folder?” It’s a pretty straightforward message, says exactly what it is going to do. is the Mac message box that precise? At least Mac users on a Windows machine would know what behaviour to expect if they clicked yes. :)

Roy Schestowitz | April 7th, 2005 @ 6:54 am

…and Linux (KDE) is far more verbose than all others:

http://www.schestowitz.com/Weblog_Frames/overwrite.jpg

Rich | April 7th, 2005 @ 6:58 am

Let’s see if i have a blue box and i replace the color of the box with yellow….. do i have box that is half blue and half yellow….. a blue box and a yellow box….. a green box…..or what it absolutely should be….. a yellow box.

sarah l. | April 7th, 2005 @ 6:58 am

i do support at a university. I can tell you nobody reads dialog boxes, and its always to their own peril. We try tirelessly to communicate with people to help them avoid situations like the one above that is so tragic. If we put out too much email or too many dialogs, we get blamed for spamming you. Its a no win situation. I am sorry you lost your pictures, that really does stink… But blamespotting the computer on this one is kind of lame.

Where does individually responsibility for what you do come into this world? Why does everyone have a finger that they can point somewhere else to place the blame for their actions? Yeah, you can call the Finder stupid, but it seems to me, you are just trying to deny any responsibility on your part for knowing how the system works, and what replace means… You’re not on Windows, you’re not fighting viruses, you’re using your computer to do cool work… The Mac is not perfect, but neither am i or you..

May I ask why don’t you import directly to iPhoto? It saves your pics in a cool by roll kind of metaphor that seems very intuitive. It would have protected you from losing your pictures, and given you a whole toolbox of easy ways to manage your photos. So instead of dragging your photos folder to the desktop and replacing that same folder name, why not just drag them into iPhoto… and you are done. I truly treasure the photos of my friends and my family, and with such a precious thing, i am extra super careful with the files that cannot be replaced…

Jay Reding | April 7th, 2005 @ 7:13 am

Roy: Nice KDE Theme… :)

I agree that deleting data should *never* be considered good usability unless the user *expressly* indicates to do so. The concept of folder replacment in Windows and Linux is more usable to me - I’m not replacing one folder with another, I’m combining the files of two folders - which is what I’d expect it to do when I drag one folder to another. Ideally the OS would be smart enough to do a diff on the two and only replace the files that have changed, leaving any extra files alone.

When I drag one folder into another of the same name, it’s just bad usability to assume that I want to do a replace rather than a merge. Personally, I think Apple should allow you to use a key + drag combination if you want to do a replace and have the merge be the default action.

matthew | April 7th, 2005 @ 7:16 am

“This folder already contains a folder named . If the files in the existing folder have the same name as the files in the folder you are moving or copying, they will be replaced. Do you still want to move or copy the folder?” It’s a pretty straightforward message

I beg to differ, its FAR from straighforward. No dialog message should be THAT long.

matthew | April 7th, 2005 @ 7:19 am

In that KDE grab, what does “Propose” mean? and what would “auto skip” do?

'topher & 'thew | April 7th, 2005 @ 7:22 am

Just like the new Finder Preferences allow for a lot of new things in OS X now (Show certain items on the Desktop, or Sidebar; Show extensions and/or warnings, etc.), Apple should include on option about “Replace” or “Merge” so that those that are use to doing it the Apple way can continue and PC switchers have the option of doing it to.

Also, if Apple is concerrned with PC switchers, they should have an intro video .MOV presentation that outlines key features of the OS, differences and similarities between platforms that might be challenging, including this Replace/Merge situation. Not trying to educate the switcher is a mistake.

I also believe “Show TRASH CAN on the Desktop” should finally be an option for us from the “old-school” of 7, 8 & 9 operating systems.

'topher & 'thew | April 7th, 2005 @ 7:26 am

Just like the new Finder Preferences allow for a lot of new things in OS X now (Show certain items on the Desktop, or Sidebar; Show extensions and/or warnings, etc.), Apple should include on option about “Replace” or “Merge” so that those that are use to doing it the Apple way can continue and PC switchers have the option of doing it to.

Also, if Apple is concerrned with PC switchers, they should have an intro video .MOV presentation that outlines key features of the OS, differences and similarities between platforms that might be challenging, including this Replace/Merge situation. Not trying to educate the switcher is a mistake.

Regardless, files shouldn’t be just zapped! The contents of of anything not merged or replaced should be dumped into the trash so that mistakes can be corrected. Also, now with OS X, there is UNDO in the finder for many things. UNDO for setting mistakes right with this situation is a no-brainer.

‘topher & ‘thew

Off-topic: Finally, I also believe “Show TRASH CAN on the Desktop” should finally be an option for us from the “old-school” of 7, 8 & 9 operating systems.

Roy Schestowitz | April 7th, 2005 @ 7:33 am

“Propose” is a neat option that proposes a new filename when a naming conflict arises. “Auto-skip” will abort individual actions when conflicts are detected. These options might be daunting at first and they will not appeal to a person who has never used them. I use them on a daily basis though.

matthew | April 7th, 2005 @ 7:44 am

There not the most explanatory of ermm… explanations, are they?

I also believe â€"Show TRASH CAN on the Desktop” should finally be an option for us from the â€"old-school” of 7, 8 & 9 operating systems.

I used some sort of hack to do just that when I started using OSX after OS9, but Ive got rid of it as tbh its pointless. The dock floats over everything so its easier to get to.

Michael Pate | April 7th, 2005 @ 7:46 am

In answer to Mike D.’s question above, Windows does do it recursively. As does Linux. For instance, when I am upgrading an installation of weblog software to the latest version, I just drag and drop the folder into the proper place in the SmartFTP window and let the merging begin. I shutter to think about how many people would be constantly wiping out config files if most webservers were running OSX.

Andy | April 7th, 2005 @ 7:51 am

Grrrr. This sort of thing just plain gets me mad. If you’re too damned stupid to read a dialogue box, when you’re performing something as potentially damaging as replacing a folder, well that’s just your luck out. Next you’ll be telling us how you got run over by a bus because you didn’t bother to look both ways when crossing the street !

The Windows way is just plain wrong wrong wrong ! It breaks the ‘direct manipulation’ metaphor, which breaks the consistency of the interface. If I replace something, I expect it to be replaced !! File, folder, application, text clipping - it doesn’t matter - moving and object called ‘X’ into the same place as another object called ‘X’ should replace that object. If you want to merge the contents of two folders, the correct action is to open one of them - select all with Command-A or by dragging - and drag the contents onto the other folder. You know - just like you’d do in real life.

Now, granted, the Finder should accommodate idiots like you by putting the deleted folder in the trash. That would be a good compromise.

Mike D. | April 7th, 2005 @ 7:52 am

Matthew: Absolutely. That message is FAR from straightforward. It still doesn’t answer my question (and no one has yet) of whether folder merging happens with nested folder as well or just the top level folder you are replacing. According to that message, I would assume only the top level folder gets merged since folders inside that folder “will be replaced”.

But then again, the depends on what the meaning of the word “replace is”.

Can someone answer this… just for my own curiosity? When you are drag-replacing a folder in Windows which contains many levels of nested folders inside, does Windows keep drilling into the folder structure and merging when the source structure matches the destination structure?

Mike D. | April 7th, 2005 @ 7:53 am

Jeez… and Michael P. answers my question *right* as I’m typing that last message. Thanks.

matthew | April 7th, 2005 @ 7:54 am

But what happens if a file in a folder has the same name as a folder youre copying into it?

Matt | April 7th, 2005 @ 7:54 am

Yes, if the files went in the trash or even if I could undo the operation, I wouldn’t be as miffed. But after moving the folder they were, at least to my Mac skills, irretrievably gone.

Scott | April 7th, 2005 @ 7:56 am

Actually, this would be a problem with copying/modifying/using BSD Unix’s code, wouldn’t it? The Mac OS isn’t based off the Xerox software anymore.

Roy Schestowitz | April 7th, 2005 @ 8:00 am

Consistency should win over the arguments in this case. Mac OS X should have remained consistent w.r.t. to other operating systems. The way I see it, Mac is still not Linux. It simply has the nice resource-damanding bells-and-whistles. You can put a pig in a dress and take it out for dinner, but it is still not a girlfriend (Linux).

…a few more comments and Matt gets 60 comments to compensate for 60 lost photos…

matthew | April 7th, 2005 @ 8:04 am

Consistency should win over the arguments in this case. Mac OS X should have remained consistent w.r.t. to other operating systems.

Surely it should remain consistent with itself? Which it is with

matthew | April 7th, 2005 @ 8:05 am

*Damn, trangular brackets!*
….Which it is with OS 9 and earlier. Just because a majority do something, doesnt mean its correct.
FWIW, the Windows/Rest of the OSs way would confuse the hell out of me and Id have many files which I shouldnt have. I just like to be in control of my files, I dont like the OS making decisions like that for me.

Roy Schestowitz | April 7th, 2005 @ 8:10 am

matthew:

I just like to be in control of my files, I dont like the OS making decisions like that for me.

What decisions? Erasing your photos?

Wouldn’t you rather have duplicates? Your argument makes no sense to me. “Oh, what the heck… don’t make the decision and copy some files for me, just purge the whole goddamn thing…”

indieb0i | April 7th, 2005 @ 8:11 am

Hmm, what is this “replace” function that everybody is arguing about? I don’t have a “replace” function on my Windows desktop. Never have. I can copy or move, but not replace. When I drag a folder to another location, I clearly have the option of “copy” or “move” (or even the rarely used “create shortcut”). Neither of them explicitly or implicitly declare that similarly named objects at the destination will be replaced/merged/destroyed. Anyone who thinks that the Mac or PC way is the “right” way is just wrong. You can come up with countless analogies to support your way, but they would all be fallible.

The only thing explicitly defined by these functions is that the object will be copied or moved to the new destination. It is then up to the OS to define who that is accomplished. The dialog box on Windows clearly tells you how it will handle that copy or move and is 100% correct in how it does this. If you view this as inconsistent, you are wrong. That doesn’t make the Mac way any less correct, it just means that there is nothing wrong with the way Windows does it.

As a bonus to Windows users, it is also far more convenient. Because now you have the option of merging or replacing a folder as all you have to do for the latter is delete the old folder first.

matthew | April 7th, 2005 @ 8:17 am

Roy - no, I DONT want the duplicates, thats the point! Call me old fashioned but Id rather manually replace/rename the files rather than have the OS try to second guess me.
I still dont understand what would happen on Windows if folder A had a file called ‘mystuff’ in it and then you tried to copy a folder called ‘mystuff’ into folder A.

Roy Schestowitz | April 7th, 2005 @ 8:21 am

Windows distinguishes between files and dirs IIRC.

Linux, however:

roy@BAINE:~> md dir
roy@BAINE:~> cd dir
roy@BAINE:~/dir> vi file
roy@BAINE:~/dir> cd ..
roy@BAINE:~> md file
roy@BAINE:~> mv file ./dir/
mv: cannot overwrite non-directory `./dir/file' with directory `file'

matthew | April 7th, 2005 @ 8:24 am

so it does nothing?

Martin Pilkington | April 7th, 2005 @ 8:24 am

I don’t really get the problem here. It’s windows that’s at fault, not the Mac. Let’s think of a folder as a box. The box has items in it. If I told you to replace the items in the box with some other items, what would you do? You would take the items in the box out, and put the new items in. Replace means to remove what’s there and put in what’s new, not to add or merge two folders.

“Consistency should win over the arguments in this case. Mac OS X should have remained consistent w.r.t. to other operating systems. The way I see it, Mac is still not Linux. It simply has the nice resource-damanding bells-and-whistles.”

Roy, the Mac is not trying to be Linux. It never has and it never will. OSX is Unix, Linux is a Unix clone. Apple shouldn’t have to make OSX consistent with other OS’s, especially windows. For one, it would lose consistency with previous versions and it would also cause it to gain all the flaws of windows, of which inconsistency is a major one. If everything was consistent then we would never have innovation ;)

Roy Schestowitz | April 7th, 2005 @ 8:26 am

Windows does (I think), Linux doesn’t. But it’s going off-topic because directory-file conflicts are rare. Since Linux is case-sensitive (not always), this is even more unlikely.

matthew | April 7th, 2005 @ 8:28 am

Its not _really_ off topic, and I still dont know what exactly Windows does aside from it knows the difference between a folder and a file.

Matt | April 7th, 2005 @ 8:29 am

No matter how wrong Windows may be to purists, at least I never lost any photos on it. (For this reason, at least.) I would strongly agree with earlier comments that deleting files without recoverability is horribly bad usability.

kingbenny | April 7th, 2005 @ 8:32 am

Somebody used the analogy of buying a new car to ‘replace’ their old car. A more appropriate analogy, however, in this case might be to think of the contents _within_ the car, since its a folder we’re talking about. Therefore, when you replace your old car with a new one, you may very well keep many of the contents from your old car and put them in your new car… or ‘merge’, but the actual car got replaced. Very interesting discussion.

Roy Schestowitz | April 7th, 2005 @ 8:32 am

Matt, I think you jinxed me with your post. Today, for the first time ever and purely by coincidence, I lost 20 photos. My camera had a power shortage and the memory emptied. I am not kidding. First time ever.

Doug | April 7th, 2005 @ 8:38 am

So we have some people arguing one “side” and some arguing the other. Nether makes complete sense. OS X’s use of the word “replace” is correct; Windows’ is (if it uses the word, does it? I can’t remember) wrong–as people have mentioned.

However, the deleted folder! should end up in the trash. I tried something similar to what Matt did. Nothing ended up in the trash, and Undo did not recover the original folder.

And it would be more useable for the OSs to allow a choice as people have already mentioned.

And finally, Dave M: As “neat” as it is to fantasize about Apple stealing Xerox’s code, it’s not true. Yes, Gates used that excuse to steal Apple’s code. And Apple (and the idiot Sculley) were stupid enough to let him do it.

The truth (read Blurg’s stuff and http://www.folklore.org) is that some guys from Apple went to observe the Star WITH Xerox’s PERMISSION! They _did not_ observe any code. In fact, the Star didn’t even have overlapping windows. The Apple engineers found out how to make this work _first_.

So there! ;)

Doug

P.S. Sorry about your pix Matt. I’m glad I read this because I use only Macs now. But I cut my teeth on the mess that is Windows. So I would have been fooled too.

Martin Pilkington | April 7th, 2005 @ 8:38 am

You can’t say that Windows is better because you never lost photo’s on it. It’s what you are used to. Just because Apple decides to use the correct meaning of the word replace as opposed to windows doesn’t mean that it’s wrong. This is a major problem I see with many switchers. With Windows, I find that it always seems to want you to think it’s way. With OSX, it works how common sense says how things should work. It’s the way the mind works, not the way a computer works ;)

Ryan Prins | April 7th, 2005 @ 9:10 am

I couldn’t help but think of you Matt when I saw this article for “Switchers” (not implying that you are one) about the difference between a PC and a Mac when it comes to “Replace”.

Nick | April 7th, 2005 @ 9:51 am

matthew,
In Windows, I have a folder A and a folder B inside of A. Now I have a new version of B, so I copy B into A. Windows prompts you if you’d like to replace all (I’m not looking up the direct wording). Any files in old B will be replaced with versions from new B if there are new versions. If there are files in old B that are not in new B, they will be left alone (not deleted like Matt is explaining the Mac does). This happens recursively throughout the folder structure. So if you had a folder C inside of B (both new and old), this same process applies. Files in C will be replaced with new versions, but files in old C that are not in new C will be left alone.

Nick | April 7th, 2005 @ 9:52 am

Also, if there are files in new B that are not in old B, they will be added.

Matt | April 7th, 2005 @ 10:12 am

Ryan, probably because that article was written as a result of this one. :)

Dave M. | April 7th, 2005 @ 10:14 am

Chilton and others… “I honestly cannot think of a single instance where I could use the world ‘replace’ when I mean ‘merge’.”

So, when you buy a new house, you simply leave all of your posessions in your old house and move to the new house replacing all your belongings with new ones? Wow! I really wish I had that kind of money. I personally, move my posessions with me and if their happen to be a few items in the new house that were left by the previous occupiants, I will decide weither I want to keep them or replace them.

Same with a new car, I move my possession from the old car to the new car. A new fridge, desk, computer, hard drive, briefcase, camera, etc…

Matt | April 7th, 2005 @ 10:20 am

Here’s the exact message in Windows, since there seems to be some confusion about this:

This folder already contains a folder named ‘100PENTX’.

If the files in the existing folder have the same name as files in the folder you are moving or copying, they will be replaced. Do you still want to move or copy the file?

[Yes] [Yes to All] [No] [Cancel]

Pete Prodoehl | April 7th, 2005 @ 10:22 am

Jay says “Ideally the OS would be smart enough to do a diff on the two and only replace the files that have changed…”

Well, doing a diff works well for text files (if the line endings match) but for binary files it’s not as easy, and you can’t just check the creation/modification dates, as those can be incorrect, so what you have to do is an md5sum on each file to see if they are really the same file, and for large files (like photos) this is time consuming. Trust me, I know this because I’ve had to write code to do it. :(

totoro | April 7th, 2005 @ 11:01 am

“Consistency should win over the arguments in this case. Mac OS X should have remained consistent w.r.t. to other operating systems.”

Consistency w.r.t. to other operating systems… for consistency’s sake ?

yeah, we’ll really progress that way.

Jesper | April 7th, 2005 @ 11:18 am

Regardless of the semantics, I think (as an otherwise full proponent of the way the “Classic” Finder worked, which is what Gruber and friends want it to work as) that the method of replacing a folder with another folder and discarding the contents is just flat out wrong because A FOLDER IS NOT A FILE. They’re both entities in the file system, but they’re used for totally different things. It’s not reasonable nor intuitive for the user, even if it’s how it logically should work within the limited and specific rules of conduct - and that’s a big if, and it can result in accidental data loss way more often than being used as a clever shortcut.

The only case in which this *should* be allowed is where bundles - folders acting or showing up as files to facilitate easier resource management, like folders ending in .app becoming applications (right click and choose show package contents and you’re effectively looking into the folder) - are involved, as this is one of few cases in which it *does* make sense to replace folder a and contents with folder b and contents.

Ryan Waddell | April 7th, 2005 @ 11:30 am

I beg to differ, its FAR from straighforward. No dialog message should be THAT long.

Just because it’s LONG, doesn’t mean it’s not STRAIGHTFORWARD. The messagebox says exactly what it is going to do. Just because it’s too long for a lazy person to read, doesn’t mean it’s not adequately explained (and I would rather have an adequate explanation of the behaviour, than an assumption that you know what it will do).

Rich | April 7th, 2005 @ 11:49 am

I guess I’m a little confused by the whole discussion thing here. Didn’t this all come about because someone who wasn’t extremely familiar with an operating system decided *not* to read a dialogue box? I’ve been using a Mac for, dear God, nearly 20 years. I *always* read the dialogues.

Perhaps a more perintent suggestion (one I haven’t seen in a while) would be: RTFM.

And let me make one more suggestion. Don’t have your camera set to erase its memory on download.

Mike D. | April 7th, 2005 @ 11:50 am

Dave M.: In that case, you aren’t “moving” the house however. You aren’t dragging your old house over to the same neighborhood where your new house is. You are dragging the *contents* of your house *into* your new house… which is exactly what we Mac users do to accomplish same. We select the files inside the folder and drag them to the new folder. Makes sense in bitland and in the meatspace.

bloodthirstyrobot | April 7th, 2005 @ 12:23 pm

By my way of thinking, if an OS interprets a user command does something catastrophic–and unexpectedly so–that’s a design flaw.

Dave M. | April 7th, 2005 @ 12:30 pm

“And let me make one more suggestion. Don’t have your camera set to erase its memory on download.”

If Matt and other digital camera users followed that suggestion, we would all run out of memory in the memory cards in next to no time. Matt, didn’t lose the images he was pulling down from the card, he lost the images he had pulled from the card earlier.

Not that I am changing sides here, but a point to make in Apple’s favor, when copying a file.zip on one hard drive to a file.zip in on a different hard drive (or folder), the contents of the destination file.zip is lost and replaced with the contents of the source file.zip. This is consistant with the Mac replace vrs. Windows merge.

If you want to “merge” the contents of the zip files, you need to work with your favoriate zip program. Dragging the source file.zip on to the destination file.zip will simply add the source file.zip into the destination file.zip.

As to the house thing, maybe the house is a bad example, but the others mentioned still hold true.

jake | April 7th, 2005 @ 12:41 pm

Since the begining of time oses have done it this way try Unix “mv” and it will replace all the files in the folder, DOS, Mac OS 9. Microsoft is the one going out on a limb here doing it the non-standard way. I would argue undoing an unintentional merge of two folders is far more difficult to deal with than just replacing an object with another. Which were the files in the source folder, which were the files that were in the destination?

It might be nice to do a merge, but that can be accomplished by opening the window and dragging into there. I would be wary of cluttering things up with too many options and ways of doing things. Less is more.

JonP | April 7th, 2005 @ 12:44 pm

I think it’s funny Matt wrote that in OS X the word “replace” means “delete the folder that’s already there and REPLACE it with the one you’re dragging.” (emphasis mine) Well, yeah, that’s what you just said. … I do agree with commenters who note that the merge / replace / cancel type option would be cool.

T Money | April 7th, 2005 @ 12:55 pm

It seems to me here, the issue is that winodws has butchered the english language. The Mac OS clearly, and in no uncertain terms says that it will replace the old item with the new item. The definition of the word replace (and the action button which you must click to do this says replace) is “to take the place of”. It seems entirely logical that when I take an object, and replace it with a new object, the contents of the old object will not be merged with the new object without explicitly doing so. That’s how it works in the real world. When I buy a new car, I need to move the contents to the new car before I replace my old one.

While I agree that the Finder should move the old folder to the trash rather than deleting it, the behavior is appropriate for the question asked, and the real problem is windows should ask about merging not replacing.

Sean | April 7th, 2005 @ 12:55 pm

Replace means replace, merge means merge. And in the case of replacing folders, the rule remains the same as replacing files. You wouldn’t expect your school paper to be “merged” with the one it’s being replaced with would you?

This is an assnine discussion … bringing up “replacing” new cars and houses? The bottom line here is that those users who makeup the pro-mergers have been brainwashed (braintrained?) by the operation of the Windows OS. As is true many other such usability rules, Windows does it wrong. The question now remains, do you (Matt) blame Apple’s Finder or Microsoft for your lost photos? You’re the one who was trained to think the wrong way. Blame the teacher.

Martin Pilkington | April 7th, 2005 @ 12:57 pm

“This folder already contains a folder named ‘100PENTX’.

If the files in the existing folder have the same name as files in the folder you are moving or copying, they will be replaced. Do you still want to move or copy the file?

[Yes] [Yes to All] [No] [Cancel]”

Gotta love windows dialogues. That is a perfect example of a confusing dialogue. Do you want to move or copy the file? If I choose yes will it move it, or copy it? What about no? Or is it saying that the OS will decide? It’s just confusing like everything else. It just makes more sense that if you want to put files in a folder you select the files and put them in the folder. If you want to replace the folder then you select the new folder and put it in the place of the current one. It’s a simple enough thing to understand. If anyone asked you to replace something with something else, you would discard the first thing and put the second in it’s place

Jonathan LaCour | April 7th, 2005 @ 12:57 pm

Matt, you said in a comment: “No matter how wrong Windows may be to purists, at least I never lost any photos on it. (For this reason, at least.) I would strongly agree with earlier comments that deleting files without recoverability is horribly bad usability.”

I would agree with you if it hadn’t explicitly *ASKED* you if you wanted to “replace” the item with the one you were removing. Every conceivable definition of the word _replace_ says you are wrong. When Apple designed the Finder they designed it to the logical and understood definition of the word “replace.” I understand you are frustrated, but taking it out Apple is foolish and misguided. Its not their fault. It asked you to confirm your foolish action and you said “Yes, please do exactly what you are describing.”

That being said, I think John Gruber’s suggestion over at Daring Fireball about putting the items that you are “replacing” into the Trash is a reasonable way to avoid problems. The Windows way is confusing and can cause just as many problems if you think logically.

But, please, don’t bitch about Apple when its not their brain thats broken — its yours.

Matt | April 7th, 2005 @ 1:01 pm

Jonathan, until it does have a way for the file to be recoverable I’ll still consider it braindead. Apple convinced me to switch, I wish they would be a little friendlier now that I’m here.

Sean | April 7th, 2005 @ 1:06 pm

Oh, and by the way, “Undo” works after a folder replace in Finder. ;)

Sean | April 7th, 2005 @ 1:08 pm

… nevermind, it just brings the original replacement folder back to the original location. Now, there’s something worth complaining about.

Jay Reding | April 7th, 2005 @ 1:11 pm

Pete: True, but given how much processor power sits unused in even budget systems these days, one would think that doing an MD5 sum on even a large set of files wouldn’t take long.

Of course, a really smart OS design would have the MD5 sum of a file automatically stored in a resource fork or some kind of metadata so that the OS would have the information without doing a query for each file. Perhaps we’ll start seeing that when we get the inevitable merger of relational databases and filesystems…

David | April 7th, 2005 @ 1:23 pm

What does a microsoftie’s brain look like when its at home? Replace: how hard is it to understand that idea? I replaced my 15″ CRT with a 19″ LCD. That doesn’t mean that my desk now has two displays. It has one. Microsoft doesn’t replace a folder, it merges two folders. I feel sorry for Matt because he spent years getting used to an idea that was dead wrong. But claiming the Finder’s behavior is wrong is just plain lame.

indieb0i | April 7th, 2005 @ 1:55 pm

Wow, this thread has sure gone a long way in convincing me to never ever buy into the Mac cult. Talk about a bunch of zealots. Yeah, it’s everybody else whose brain is broken or has been thinking wrong all these years simply because they do it differently than Apple. Talk about brainwashed.

A quick question for everybody claiming that all you need to do for a merge is select the contents of the folder - What happens to the contents of subfolders? What about sub-subfolders? How do you handle 30 folders nest up to 5 levels deep that needs to be merged into a similar structure?

I’m not saying that the Mac way is wrong, but I definitely prefer the Windows way of COPYING and MOVING. And if you can’t understand the wording of that dialogue box, then blame your English teacher.

Mike D. | April 7th, 2005 @ 2:00 pm

Okay, here’s a project for somebody then: Design a history palette for the Finder, a la Photoshop. Now THAT’s what I really need. I have a million free gigs on my hard drives these days so why not dedicate some of that space to remembering Finder states… like a scratch disk stores Photoshop history. Basicaly, you could set a limit, like 2 gigs maybe, and it would keep storing states until it reached that limit and then it would be FIFO at that point.

Too disk-intensive? Maybe… I don’t know.

Chris | April 7th, 2005 @ 2:02 pm

On a related note, in Mac OS X you can “select all” files in a given folder, then cut and paste said files to a new location. This feature began in Windows, as far as I know.

At the end of day, and even at the beginning of it, Windows has much more similarity to Mac OS than the Mac OS ever had to anything Xerox made. See:

http://www.folklore.org/StoryView.py?project=Macintosh&story=On_Xerox,_Apple_and_Progress.txt&sortOrder=Sort%20by%20Date&detail=medium&search=Xerox

Mack T. Ruck | April 7th, 2005 @ 2:04 pm

I have used Macs for 20 years and this Finder behavior is the dumbest thing ever. When is Apple going to fix this truly braindead behavior? I went out and bought a third-party sync/merge tool for the many times when I need to control which files go and which files stay in folders that contain one hundred or more items when nested folders are included. I say again - I love the Mac, and vastlt prefer it over Windows, but a truly constructive Mac user must recognize when the OS goes the wrong way.

dave | April 7th, 2005 @ 2:12 pm

My Grandma said ” a bad workman blames his/her tools”

Mack T. Ruck | April 7th, 2005 @ 2:27 pm

“Okay, here’s a project for somebody then: Design a history palette for the Finder, a la Photoshop. Now THAT’s what I really need. I have a million free gigs on my hard drives these days so why not dedicate some of that space to remembering Finder states… like a scratch disk stores Photoshop history. Basicaly, you could set a limit, like 2 gigs maybe, and it would keep storing states until it reached that limit and then it would be FIFO at that point.
Too disk-intensive? Maybe… I don’t know.”

Hey, you just described a feature much like the Windows System Restore Point feature. Again, while I love love love my Macs, Windows is ahead in this area you are describing.

matthew | April 7th, 2005 @ 2:29 pm

Just because it’s LONG, doesn’t mean it’s not STRAIGHTFORWARD

Youre right, I should have said, “I beg to differ, its FAR from straighforward AND no dialog message should be THAT long.”
The two arent mutually exclusive, I mean its a piece of drivel written by a techy AND its too long.

Lanny Heidbreder | April 7th, 2005 @ 2:32 pm

The logical extension to which must surely be “A good workman always believes his tools are perfect in all regards,” no?

cratchit | April 7th, 2005 @ 2:39 pm

indieb0i, right on…

Argue the semantics of the word “replace” in both OSs all you want, but for me, the Windows behavior is a lot more useful, exactly because of the scenario indieb0i described. It’s fairly simple for Windows users to delete an old folder and copy in a new one, but it’s a total pain for Mac users to achieve a recursive folder merge. What’s the point of the current behavior in OS X if it really only spares you from hitting the delete key (at least that moves files to the trash)?

Oh, and as a new Powerbook owner, I’ve been slapped around by this UI difference a few times as well.

Mike D. | April 7th, 2005 @ 2:58 pm

Mack T. Ruck: No, I don’t mean the Windows Restore Point. Those are discrete backup points that are not the least bit useful for ad-hoc mistakes like the one we’re talking about.

Bruce | April 7th, 2005 @ 3:21 pm

To summarize, Windows and Mac OS X (as well as *all* of the other OSs that currently exist) each have their own imperfections. While the respective makers of these OSs should correct those imperfections, you, the user, will have to deal with said imperfections until they are fixed, so… deal with it.

Mack T. Ruck | April 7th, 2005 @ 3:25 pm

All I really meant was that you were looking for a purgable rolling backup of states, and that’s what the Restore Points are. It may differ from your request in terms of scale and permanence, but not in basic design. I hope this sub-thread doesn’t turn into another raging battle resulting from a tiny, insubstantial difference in understanding! (Which is what some of the more fundamentalist of my fellow Mac users are terrible at handling)

Gregory Wild-Smith | April 7th, 2005 @ 3:30 pm

Surely this is about different behavior in files vs folders?

For files the mac way makes sense, in fact thats how windows does it too. For folders it treats it differently in windows - as a container. You are dumping the contents of one into another - and then it treats the files as it would normally, replacing them if needed, adding anything new, and leaving anything that was already there that doesn’t need touching.

This makes sense in the realworld too. I dump the files form one folder into another, and I don’t burn the other files. Its all a matter of which metaphor the OS designers chose. I think the windows one makes more sense, especially as that is 99% of the time exactly what I’d want it to do.

However the sematic point is replace — Macs DO replace the folder, but they treat it the same as a file. Windows has a more logical (from a HCI point of view) but less semantically correct approach.

Merge isn’t the right term either - because going by the mac model (treating files and folders as basically the same type) you’d actually be merging the files too - much like a diff patch. This probably wouldn’t be what you’d want either. It could be a I guess.. but I doubt it.

I love macs, I really do, but it is a retarded interface flaw. Especially as it completely nukes the files afterwards. Thats just plain wrong.

Nick | April 7th, 2005 @ 5:13 pm

We could debate the word “replace” here forever, but why has that turned into an arguing point? I don’t ever recall choosing the Replace option from the menu that appears on Windows when I drag and drop something. The main options are either Move or Copy. If I’m not mistaken, the Mac doesn’t give a Replace option when doing this either.

So in reality, we never asked the OS to do a replace, that’s simply the word used on the dialog boxes. We either chose to copy or move something to this new location and neither of those options should ever mean that we want to delete what is there first. So when you look at it this way, the Windows way of doing it makes much more sense.

If you want to copy something, you still have your original, but you don’t remove the stuff that is around the place where you put that new copy. Likewise, if you move something, you no longer have it in the old location, but again, you don’t remove the stuff that is around the place where you move it to.

Sean | April 7th, 2005 @ 5:54 pm

The main options are either Move or Copy. If I’m not mistaken, the Mac doesn’t give a Replace option when doing this either.

Actually, in OS X the dialog buttons when attempting to copy a file or folder to a location where the same name exists are “Stop” or “Replace.” Even if one doesn’t read the actual warning dialog, the buttons clearly define the options.

Nick | April 7th, 2005 @ 6:03 pm

I’m not talking about the dialog box that comes up prompting you when the OS detects a folder/file with the same name.

Maybe on the Mac you don’t get a menu when you drag something to a new location. In Windows if you right click drag something you get a menu that comes up (not a dialog window) and the options are: Copy Here, Move Here, Create Shortcut Here, and Cancel.

Tim | April 7th, 2005 @ 7:33 pm

The Finder clearly explains what it is going to do if you tell it to proceed. Having it do anything besides replace the folder would make absolutely no sense.

ast3r3x | April 7th, 2005 @ 8:13 pm

I’m so confused what the problem is. Apple does exactly what it should do while using the word replace. Windows does what (although it seems mostly PC users) think is more useful. The only problem with Apple’s way is that they don’t offer an undo, which shouldn’t be required since they explicitly ask you, but it would be nice.
Why don’t we just leave it at different isn’t wrong, Apple’s way is annoying for window’s users because they are used to improper wording, and Apple doesn’t have an undo.

Scott | April 7th, 2005 @ 8:46 pm

“I have noticed that Apple does a lot of things different from others”

“Consistency should win over the arguments in this case. Mac OS X should have remained consistent w.r.t. to other operating systems.”

The Macintosh finder has been “replacing” folders since version 1.0 was released in May of 1984. In fact, the core finder menus and behavior remained virtually unchanged though OS 9 (1999) and still retain much of the top level menu items and functionality OS X.

Windows, on the other hand, has gone though several redesigns in an attempt to gain the ease of use the Macintosh had from day one. IMHO, Microsoft still hasn’t got it right.

GUIdebook : VISUAL HISTORY OF OS DESKTOPS
http://www.aci.com.pl/mwichary/guidebook/components/desktop/firstrun

One problem with allowing inter-directory merge or replacement is that if there is an error reading or writing a file, you can end up with with an aborted or incomplete replacement, which can be a real mess to sort out. (Note: I switched from Win2K to OS X in 2003)

However, allowing folder replacement to be undone, either by selecting “undo” or by moving the replaced folder hierarchy to the trash, would be a welcome addition for Windows users.

Michael Heilemann | April 7th, 2005 @ 9:34 pm

“I’m so confused what the problem is. Apple does exactly what it should do while using the word replace. Windows does what (although it seems mostly PC users) think is more useful. The only problem with Apple’s way is that they don’t offer an undo, which shouldn’t be required since they explicitly ask you, but it would be nice.”

The problem is that one word is not enough. It flies right past even very advanced computer users, like Matt and myself. I’ve been using computer for 16 years; you’d think I’d be able to read, right? Still I get this wrong.

It needs to be _much more clear than just a word. It needs to grab you by the collar and say: “HEY! You’re about to delete an entire folder of God knows how many high-school documents, holiday photos and what not. Are you SURE, like absolutely DEAD sure, that you want to do this?”

Or better yet, start using Windows’ method, which is better. Period. Regardless of what Unix fans might have to say.

Now someone bring me a hack for this.

Mark J | April 7th, 2005 @ 11:04 pm

Is it even possible to do a merge on OSX? Sure, you can open a folder and select the files… but what if that folder contains another folder? Do you have to dig down through each layer until you find a folder that contains no sub-folders?

I think people have adequately defended the behavior semantically. Fine. But what about functionally? Merging is a much more useful and common behavior than is replacement of a folder and all its contents. If you wanted to do that, you’d just delete the old folder.

Richard Dalziel-Sharpe | April 7th, 2005 @ 11:12 pm

A lot of brain power and aggravation has been used up in the posts above.
But it is all a matter of experience. Us Mac users may crow and say yes our OS does it more logically but it does not matter a hoot to the poor guy who lost his photos. All I can add to the argument is that I hope that he learned from the experience. It does no good for him to blame the Mac OS for doing something he told it to do, that is “Replace” the contents of his folder. If he has not read and understood the dialogue box then he can hardly blame the OS for that. Whatever he expected to happen did not happen because he chose to ignore the clear warning given him. If he did read the dialogue box then chose to ignore it or did not ask someone with more Mac experience what he should do, it will be part of learning how to switch.

Juanxer | April 8th, 2005 @ 12:02 am

A classic example of the need of a “Merge” option is Poser, the popular 3D app from Curious Labs: many additions come as a hierarchically structured collection of files (3d models here, textures there, poses, props, etc.). Having to move every kind of item from the origin subfolder to the destination one is beyond tedious. Windows’ merge-style is quite convenient there.

There is an app that provides a similar function for Mac OS X, based on a couple of Unix commands (ditto and rsync), called SyncR ( http://home.comcast.net/~jeff.ulicny/software/utils.html ). If I am not wrong, the safest way to use it is by selecting the “ditto” function. This app allows for bidirectional merging ( yo could call it a “sync-merge”, probably :)

mcWillem | April 8th, 2005 @ 3:15 am

I’m a Windows User. I never know that I could merge the contents of a folder that a want to replace. I never expected to do so. When I want to place a file or folder on a location where a file or folder already exist with that exact same name, I expect it to be replaced. So when I just tested it, I think it’s great! Not very logical, but the system clearly explanes that it found a folder with the same name and asked me what to with the contant. If the Mac enviroment does it a different way but explanes it too, I think its allright.

I agree with the idea for the mac enviroment to ask for replacement or merging.

ast3r3x | April 8th, 2005 @ 3:59 am

Can I get an example of when you’d want to merge something? After you give me that, can you give me an example when you’d merge something with multiple levels of folders inside? I’m not trying to be a jerk, I just never do anything like this, and combined with being a mac user, it seems so strange.
I’ve been trying to think of a scenario where you’d do that, but I can’t. The only way I see that happening, is if you’d purposely set up that scenario to prove a point, or if you are very vague with how you file files. I can understand not wanting to use iPhoto, but after every picture import do you put them in a folder called ‘pictures’ and then drag that to ~/pictures/? You’d end up with a folder with tons of pictures and no organizational method. Wouldn’t it make much more sense to sort by hierarchy and name each new pictures folder ‘1/2/05′ or ‘beach trip’ and then put that in your ~/pictures/? That way you’d have:
~/pictures/’1/2/05′
~/pictures/beach trip
I think it’s easier, and faster to find the picture you are looking for if it’s broken up like that…plus in column view in OS X, you can zip along even faster. Getting more specific by hierarchy is the best way for organization…that is until spotlight comes out =)

Nick | April 8th, 2005 @ 4:23 am

Here’s an example…

A new version of WordPress comes out. On my Windows machine I have a folder with all of my WP files. I want to upgrade, so I copy the new WP files to the location of the my current version. In my current version there files and folders I do not want deleted. For instance, in the folder wp-content there are folders plugins and themes and a lot of times this wp-content folder also has a lot of other folders that are created for the use of plugins. I want to keep all of these folders and all of the files inside them.

On a Windows machine, doing this will keep files/folders that are not in that new version of WP. On the Mac, everything is deleted first and then replaced with the new version. I no longer have all of my plugins and themes.

matthew | April 8th, 2005 @ 4:35 am

Nick, I just do that by hand. I trust myself MUCH more than I trust a computer to decide which files need replacing.
In your example, what Ive altered one of the wp-admin files? Does it keep the 2 files? Overwrite one? or merge the 2 files?

Nick | April 8th, 2005 @ 4:47 am

Yes, obviously if you’ve altered the core WP files you don’t want those overwritten. This has nothing to do with merging the contents of two files though. That’s a completely different animal and neither the Mac or Windows provides built-in functionality to do that.

Don’t trust a computer to decide which files need replacing? In these situations, we want to replace all of the old files with the new ones. If you don’t, then you wouldn’t be using this functionality in the first place and you wouldn’t be copying/moving an entire folder structure to another location. You’d do it by hand.

I don’t think many of us are saying the Mac way is wrong. It does what the dialog says. But…the Windows way is A LOT more convenient and useful. If you wanted to do it the Mac way on a PC, it’s only one extra action of deleting the folder and it’s contents before copying the new folder. Doing the PC way on a Mac though? You need copy the contents of each folder by hand or get some third party app to do it for you. You tell me which saves time…

matthew | April 8th, 2005 @ 5:18 am

I can see how the Windows way would be useful but IMO its best to overwrite the contents by default (with an undo option of course) but make the merge option a key combination maybe.
I still dont get what would happen though. Youre saying that you wouldnt want to merge in that case, fine, but what youre saying is youd have to remove the offending files, merge then manually replace the aforementioned files?
Ok, bit long winded and complicated imo, but WHAT WOULD actually happen if you did what I asked in my question?

Nick | April 8th, 2005 @ 5:24 am

I explained it earlier in the comments.

Are you talking about merging one file into another file? This does not happen and would need to be done by hand.

It’s really pretty simply. Any files with the same name are overwritten with the new file. Any files that do not have a new file are kept (deleted on the Mac). Any files that are new and don’t have an old version are copied/moved.

matthew | April 8th, 2005 @ 5:29 am

“Any files with the same name are overwritten with the new file” Does that allow for modification dates? IE, would a newer file overwrite an older file or would you have ‘file 1′ and ‘file 1 copy’?

This is what I dont understand. If it simply overwrites the original file with the copied file regardless of modification date then thats frankly pants and makes a useful option of merging folders pointless imo.

Lanny Heidbreder | April 8th, 2005 @ 5:55 am

“Macs’ way is better because of the simplicity and intuitiveness and straightforwardness”

“If Windows’ functionality isn’t sophisticated enough to do modified-date–based selective file replacement, it’s crap.”

I really don’t mean to add to the flamewar, but for cryin’ out loud.

Nick | April 8th, 2005 @ 6:35 am

matthew,
I can assure you, it’s not pointless. I (and many others) use it all the time. The Mac doesn’t have the modification date option either.