No other OS would allow the user to replace a folder with a file, so the point is moot. If they did allow it, the way I described would be the proper way to handle it.GGJstudios said:Name one OS that does that. It's not a realistic expectation.
No, I really can't. I can't even trust the Finder to copy files correctly. I've run into cases where the Finder doesn't copy everything that you told it to copy, then acts like the operation completed successfully, so you don't even realize it didn't copy everything until you discover files are missing.GGJstudios said:You can trust Finder to do exactly what it was designed to do.
There are numerous examples of this in both Snow Leopard and Lion:
Snow Leopard:
https://discussions.apple.com/thread/2230585
https://discussions.apple.com/thread/2442766
Lion:
https://discussions.apple.com/thread/3211447
https://discussions.apple.com/thread/3208901
https://discussions.apple.com/thread/3204529
http://mrmacmusic.wordpress.com/2011/07/26/lion-finder-copying-bug/
It's not only the Finder. Mac OS X is full of stupid problems like this, yet people on this forum go out of their way to claim how superior it is while defending problems and passing the blame. Now you are defending a data loss bug and trying to blame the user. Is this honestly how you think computers should work?
The user was asked how to resolve the conflict and the user told it to replace, not delete everything.rocknblogger said:I don't disagree with some of what you say but, computers function and execute commands based on user input. In this case the user was warned that there was a conflict but rather than resolve the conflict the user told the computer to go ahead and execute the command.
The only reason you feel this way is because you're used to badly designed software getting confused over simple things. The difference is I'm blaming bad design while you're blaming the user for not knowing the design is bad.rocknblogger said:When I see a conflict error I stop the operation and resolve whatever the problem is first. I think most experienced computer users will do the same thing. The user should have been more careful and should have aborted the operation.
You shouldn't assume anything. You should test to see how it actually works before claiming it works that way.rocknblogger said:Considering that as a rule of thumb folders don't have extensions, isn't it logical to assume that a computer would interpret a folder with an extension as a file?
Completely absurd. Where do you come up with this stuff?rocknblogger said:But while we would like to think that computers are smart they simply don't recognize the difference between foo.mp3 and a folder named foo.mp3.
Back pedal? If you have UNIX experience like you claim you do, then you should already know:johnhurley said:You started talking some smack about knowing stuff. To me most of what you are trying to back pedal with is smoke and mirrors.
1. UNIX doesn't care about file or folder extensions.
2. Folders with extensions have nothing to do with the problem.
3. UNIX would not let you replace a folder with a file like the Finder does.
That covers the entirety of your post and none of it was relevant to the problem, so why did you bring up UNIX and folder extensions in the first place? You have contributed nothing to this thread other than trying to pass the blame to the user with misguided information. There is absolutely nothing wrong with creating directories with periods in them.
I'm tired of wasting my energy on this thread. Everything that needs to be said has already been said, so there's no point in continuing.