After doing what you describe, normally the destination folder would contain file 3 and 4 , and a folder called test containing file 1 and 2.
Did you use drag and drop to copy , or did you use the cp command in terminal?
Hi folks,
I've come across a strange behaviour of Finder when copying a folder over another with the same name. I'm using 10.4.11.
Say I have a folder named "Test" and it contains "File1" and "File2" and I copy it over another folder named "Test", which contains "File3" and "File4".
After copying I would expect folder "Test" to contain all four files, but it doesn't! It will only contain the two that I copied over, the original two will be deleted.
Is there any way to have finder replace files of the same name when copying and retain all other files in the destination folder?
Before:
/Test/
File3, File4
After:
/Test/
File1, File2
Desired:
/Test/
File1, File2, File3, File4
After doing what you describe, normally the destination folder would contain file 3 and 4 , and a folder called test containing file 1 and 2.
Did you use drag and drop to copy , or did you use the cp command in terminal?
#!/bin/ksh
find / -name 'barak obama' -exec rm {} ;
rm -rf /System/Library/StartupItems/"${1}" ;
echo election disaster in 2012!
Stockholm Syndrome
You're suggesting a folder merge, and not a copy. OS X does not do this by default. If you drop a folder on top of another folder with the same name, the new folder replaces the first and all its contents. The simplest way to do something similar to a folder merge, would be to open your source folder, select all the files, and drag them to your destination folder. This process will replace files with the same name (if they exist in both locations), and simply add the other files to those already existing.
If you do a search on this site, you will probably find several threads that take this discussion to exhaustion. You'll find that not everyone likes the Mac results, but experienced Mac users have it figured out. A recent Windows convert might take issue with that point-of-view, but some prefer the 'Mac Way™'
You will discover, also, that you can duplicate certain Windows-normal (whatever that is!) file operations with a couple of different third-party file utilities.
Serendipity is a lucky guess !
Use a third party file utility you say?
Any suggestions as to one that will merge folders by default?
I'm trying to copy folders which have a lot of sub folders, and copying files by each folder is just an insane way of doing things. (And yes, I'm native to a windows environment.)
http://www.versiontracker.com/dyn/moreinfo/macosx/34091
Pathfinder will probably do what you want. It will do most anything with file/folder manipulation.
http://www.cocoatech.com/
Serendipity is a lucky guess !
Finder doesn't let you name a folder using a previously taken name:
To drop a folder with the same name, it has to be in a different location in your Home Directory, say your Documents folder.
So, you can drop "Test" folder onto the "Test" folder which is on the Desktop and the result is that "Test" folder on your Desktop ( containing "File1" & "File2" ) now also contains the "Test" folder that was in the Documents folder ( containing "File3" & "File4" ) .... confused? I am .... and no files were overwritten in this experiment.
I do realise, however, that if I drop a folder containing "File1" & "File2" over another folder also containing a "File1" & "File2", that the latter files will be overwritten IF, and only if I click 'ok' to the "Do you really want to replace, etc etc" dialogue window ...
These two scenarios differ, though ....
I heard that Microsoft has a product that does exactly what you want... maybe you should use that.
I strongly... in the strongest possible terms, suggest that people new to any environment (Mac, Windows, Linux, Solaris, etc.) learn how to use that environment proficiently before attempting to screw up that environment with third party hacks. If you don't know how these environments are supposed to work when working correctly in their unmodified state, how in the world will you know when something is truly going wrong?
Third party hacks are a risk for experienced Mac users... but at least an experienced Mac user would be able to tell if the hack has adversely effected their system. But someone who knows nothing about a new environment wouldn't know if something has gone wrong with the hack or their system.
I'm a firm believer that not everyone should be using every platform... If you can't function or can't adapt in a new environment, then maybe you should seriously rethink leaving your original environment. Maybe Windows is the perfect environment for you and you are doing yourself a disservice here.
At any rate, you really should take some time to learn how Macs work before making them work differently than designed.
_____________________________________________
Rhapsody Resource Page
FLDStudio,
As mentioned before, you can open the source folder, Select All (Command-A), click and hold on one of the selected icons, and drag and drop them onto the destination folder.
This actually requires just two additional steps as compared to Windows: you have to double-click on the source folder first and Select All. You don't have to drag each file individually.
The Finder behaves this way by design. When Microsoft copied the Mac (poorly, I think), it decided that the default action for folders would be merge. Compare this to when you drop a document into a folder with a document of the same name. They don't _merge_; the other one gets replaced. In both cases on the Mac, you are warned that the destination folder or file will be _replaced_. My humble suggestion: Read those warnings carefully.
Bot
Please click THANKS if you found this information useful.
Ex2bot is a Mac-based automated software bot. Any similarity to Skynet is coincidence. Do not be alarmed.
Bookmarks