4

I have a zip folder structure which is read as a plugin from a server system. I need to edit some text files inside these zip folders, but

  1. extracting
  2. editing
  3. packing

is tedious and error-prone.

  • Does anyone knows an editor that can open files inside zip folders?
  • Extra: Is this editor configurable, so it will treat files with different extensions like a .zip. too?
John Gardeniers
  • 27,458
  • 12
  • 55
  • 109
wendy_44
  • 41
  • 1
  • 2

3 Answers3

3

AFAIK, there is no editor which can do this.

While there are a variety of programs which can open files from inside a zip, they generally do this by extracting the file and saving it in a temporary location (on memory or disk). The zip file itself is never changed.

Changing the contents of the file would require the contents of the zip to be extracted, altered, then re-compressed--automating the process you refer to. I'm not aware of any Mac OS editors which do this automation.

The exception is the case where you actually mount the archive as a filesystem, which I believe can be done using FUSE with the fuse-zip extension (see MacFuse for a GUI). But this might be overkill for your needs.

ajdecon
  • 1,301
  • 4
  • 14
  • 21
  • thank you for fuse-zip, i had a look there, but indeed, it seemed to be overkill for such a task .. – wendy_44 Mar 05 '11 at 19:56
1

One program that supports the workflow you're asking for is the open source B1 Free Archiver.

  1. Open the archive with B1
  2. Double click on the file you wanna edit
  3. it will open in your default text editor
  4. make you changes and save
  5. the program will ask you if you want to save the changes
  6. done. (B1 will re-compress the archive in the background)

B1 is Available for Windows, Mac, Linux and Android

PS: It does in the background extract the file to a temp location and re-compresses the archive on change, but from user's perspective, it does basically allow opening files from zip archives and changing them.

1

BBEdit 11 and later can now directly open and edit zip files, including files that have different endings, like pptx or docx. You can also add the OOXML Tools add-in to the Chrome browser to do simple edits to zipped files

John Korchok
  • 131
  • 5