Change a ZIP or TAR archive

Add, remove, rename, move and duplicate items inside a ZIP or TAR archive, make folders in it, edit a file in it, and create a new empty archive.

Website version only Since Folia Files 1.4

On this page

In the website edition, a ZIP or TAR archive opened in Folia Files (also .tar.gz, .tar.bz2 and .tar.xz) can be changed like a folder. Each change rewrites the archive; its previous version goes to the Trash, so ⌘Z can bring it back. Other formats (7z, RAR, ISO…) stay read-only.

What you can do inside

Open the archive (double-click it), then:

To…Do this
Add filesDrag them into the archive, or paste them (⌘V), or use F5 from the other pane.
Remove itemsMove to Trash (⌘⌫), which becomes Remove from Archive… here. Folia Files asks first: there is no Trash inside an archive.
Rename an itemAs usual (click its name, ↩ or F2), one item at a time. A folder keeps everything it holds.
Make a folderFile › New Folder (⌘⇧N): it's added to the archive, its name ready to type.
Move an itemDrag it to another folder of the same archive.
Copy an item⌥-drag it, or ⌘C then ⌘V in another folder of the archive.
Duplicate an itemFile › Duplicate (⌘D): “name copy”, next to it.
Edit a fileDouble-click it, or open it with any app: see below.

When a name is already taken in the archive, Folia Files shows its usual dialog: see When an item already exists.

Some things still need the archive extracted: Cut (⌘X), tags, aliases and new files. Folia Files says so with a banner (Not possible in a ZIP archive).

Edit a file inside an archive

Open a document of the archive in any app (or in Folia's editor). Folia Files gives the app a working copy, and every time you save, puts it back into the archive (a second after your last save). If you quit Folia Files with a saved change not yet put back, it is put back before quitting.

How an archive is rewritten

  1. Folia Files writes a new version of the archive next to it.
  2. It reads it back to check it.
  3. It puts the new version in the old one's place; the old version goes to the Trash.

If anything fails, the archive you had stays as it was. Every change is an operation of the history: ⌘Z puts the previous version back.

Big archives

Each change rewrites the whole archive. From 1 GB, the first change of a session asks first (Change “photos.zip” (3.2 GB)?), with how long a rewrite takes on your Mac, and the reminder that each change adds the archive's size to the Trash until you empty it. Continue answers for the rest of the session; Don't ask again for this archive is remembered.

Make a new archive

File › New Archive, or New Archive when you right-click an empty spot of a pane, creates an empty ZIP, TAR or TAR.GZ archive in the folder, ready to be filled by dragging files into it.

To make an archive from files you already have, use Compress: see Compress files.