Pharie82 opened this issue on Sep 09, 2007 · 41 posts
kuroyume0161 posted Tue, 11 September 2007 at 4:28 PM
Quote - esther wrote: "did u not realize that PCs can do this?" If you did that on either a Mac or a Windows machine, it will ask you if you want to want to replace your old folder with a new folder. If you say "yes" everything in your old folder is deleted.
WRONG! I've been using Windows since v3.0. It will replace the existing contents if the file names are identical. ANYTHING already in the folder (same name) remains in the folder - unremoved.
I can drag and drop a product Runtime folder over a Poser install folder and it will ADD the content to the existing Runtime folder - nothing 'removed'. Do this on a Mac (please try it - back up first), and it will REMOVE everything in the Runtime folder by replacing the original Runtime folder with that being copied/moved. You have two options when the folder name already exists: Stop or Replace. Stop, well, stops the paste process. Replace does as I said. On Windows, you say 'Yes, replace all' and you don't lose anything.
Mac REPLACES the folder. Target Folder A has 100000 files in it. Source Folder B has 1 file in it. When done pasting the folder or dropping it at the same level of the same named folder, you have Target Folder A with 1 file in it. I just tested this (iMac Intel G5, OS 10.4.10) with some folder copies - one I chose "Replace" and for the other I chose "Stop". Replace replaced the several existing files and removed the rest - as expected.
I've done this with my source code folder as well on occasion. I only copy the changed files. If I just drag and drop the source folder into my project where the target source folder and let it 'replace', the target source folder only contains the changed files (after having deleted everthing else).
Maybe we have a different idea about copy-pasting folders to update existing ones?...
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone