Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Evangelion

macrumors 68040
Original poster
Jan 10, 2005
3,378
205
I'm having some issues with a zip-file. Basically the Zip-file contains a set of folders and subfolders that contain files. I need to take those files and replace a set of files on an existing folder-structure, without overwriting the folders. To clarify:

The zip-file contains something like this:

Code:
 - Root-folder
                - Folder A
                        - File A
                        - File B
                        - Folder B
                 - File C
                 - File D
                 - Folder C
etc. etc.

Now, on the hard-drive there is a identical folder-structure. I need to unzip the file in such way that it respect the folder-hierarchy. In other words: it would extract files in to correct subfolders, replacing files if needed, and adding files if similar file does not exist. And it would not touch old files with different names at all (if I just replaced the folder with a new folder, those files would disappear).

I believe that ZipIt supports this feature, but it would cost 20 bucks. I could do it by hand, but there are about 30 folders to go through. Is there any way to do this with Automator for example?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.