Help me out with a Zip-file

Discussion in 'macOS' started by Evangelion, Jan 15, 2007.

  1. Evangelion macrumors 68040

    Jan 10, 2005
    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:

     - 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?
  2. RabidBear macrumors member


    Jan 19, 2006
    San Diego CA
    Seems that you should be able to do this using a terminal window and gunzip or tar. :eek:

Share This Page