# Extract multiple zip files at once, each into its own folder

> Markdown version of https://stella.sh/how/files-folders/extract-multiple-zip-files-at-once for agents and LLMs.
> Unzip a whole batch of zip files in one go, each into its own folder, without __MACOSX junk or doubled folders: 7-Zip, Archive Utility, or Stella (stella.sh).

On Windows, File Explorer's Extract All does one zip at a time; the free 7-Zip program does them all: select the zips, right-click, 7-Zip, Extract to "*\" and each lands in a folder named after it. On a Mac, select them all and double-click; Archive Utility handles each one, though it can leave `__MACOSX` folders and doubled folders behind. Stella (stella.sh) unzips a whole batch into one folder per zip and tidies both of those as it goes.

- Checked: 13 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 13 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: 12 zips unzipped in about 40 seconds. Checked afterwards against an answer key written before the run: every zip's files are in their own folder, byte-for-byte the same as inside the zip, no week mixed with another, no `__MACOSX` folders, no doubled wrapper folders, and all 12 zips still in Downloads, unchanged. The 12 zips and everything in them were made for this run, with the same file names in every week and Mac-made zips among them on purpose. The work is sped up 2×.

Video (43 s): https://stella.sh/media/proofs/files-folders/extract-multiple-zip-files-at-once/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. Twelve weekly course zips are in Downloads.
- 0:02 The prompt: unzip all of them at once, each into its own folder.
- 0:11 Stella replies: one folder per zip, named after the file, with the zips left where they are.
- 0:17 Unzipping 12 files, sped up 2×.
- 0:29 Done: 12 folders, wrapper folders flattened for weeks 3, 6 and 9, Mac leftovers skipped for weeks 4 and 8.

What Stella does:

1. Finds the 12 course zips in Downloads, Week 01 to Week 12
2. Unzips each one into its own folder named after the zip, so the `notes.pdf` and `readme.txt` that every week shares can't overwrite each other
3. Notices that weeks 3, 6 and 9 already had a wrapper folder inside, and moves those files up so there's no `Week 03/Week 03` level
4. Skips the hidden `__MACOSX` folders of Mac leftovers in weeks 4 and 8, which held no course material
5. Leaves every zip in place and reports that none were damaged or password-protected

## The prompt to paste

```text
I've got a load of zip files in my Downloads from my evening course, one for each week. Unzip all of them at once, each into its own folder.
```

## Unzip them yourself

1. **Windows: install 7-Zip.** Windows' own Extract All only works on one zip at a time. Install the free [7-Zip](https://www.7-zip.org/download.html), select all the zips in File Explorer, right-click, choose 7-Zip (under Show more options on Windows 11), then Extract to "*\". Each zip goes into a folder with its own name.
2. **Mac: select them all and double-click.** In Finder, select every zip and double-click any one of them. Archive Utility opens each into a folder next to it. Nothing to install.
3. **Delete the junk folders.** Zips made on a Mac often contain a `__MACOSX` folder full of `._` files. They're useless on another computer and safe to delete. Mac's Archive Utility hides them, but Windows shows them.
4. **Fix doubled folders.** If a zip already had a folder inside it, you'll end up with `Week 03/Week 03/…`. Open the inner folder, select everything, drag it up one level, then delete the empty inner folder.
5. **Keep the zips until you've checked.** Open a few folders and make sure the files open before deleting the zips. A zip that says it's damaged or asks for a password needs a fresh download or the password from whoever sent it.

## Where Stella stops

- Password-protected zips need the password; Stella reports them instead of skipping silently.
- If a zip holds another zip, the inner one stays zipped unless you ask Stella to open those too.
- Folder and file names are seen by the AI model you use in Stella. The unzipping itself happens on your computer; nothing is uploaded.
- Recorded on Linux, where Stella used the unzip tools already there. On a Mac it can use the built-in tools too; on Windows it uses what's available, such as PowerShell's Expand-Archive, which wasn't recorded.

## Questions

**Why does Windows only extract one zip at a time?**
Extract All is built for a single archive. Selecting several zips greys it out or only handles the one you right-clicked. 7-Zip or a short PowerShell loop handles a batch.

**What is the __MACOSX folder in a zip?**
Hidden Mac file details (the `._` files) that the Mac's Compress command adds. They aren't part of your files and can be deleted. Stella left them out when unzipping.

**Can it open RAR or 7z files the same way?**
Yes. See [open a RAR file](https://stella.sh/how/files-folders/open-rar-file) and [open a split 7z file](https://stella.sh/how/files-folders/open-7z-file). To go the other way, see [split a folder into zips small enough to email](https://stella.sh/how/files-folders/zip-file-too-large-to-email).

**Will it delete the zip files afterwards?**
Not unless you ask. In the recording all 12 zips stayed in Downloads, unchanged.

**Is Stella free for this?**
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

**Can I control what Stella changes on my computer?**
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Sources: [7-Zip download page](https://www.7-zip.org/download.html), [Pureinfotech: How to extract Zip, TAR, 7z and RAR files on Windows 11](https://pureinfotech.com/extract-zip-rar-7z-tar-windows-11/).

## Related problems

- [How to open a RAR file on a Mac or Windows PC](https://stella.sh/how/files-folders/open-rar-file.md)
- [How to open a 7z file, even one split into parts](https://stella.sh/how/files-folders/open-7z-file.md)
- [Zip file too large to email? Split it into pieces that each open](https://stella.sh/how/files-folders/zip-file-too-large-to-email.md)
- [Find files containing text, whatever type of file they are](https://stella.sh/how/files-folders/find-files-containing-text.md)
- [Move all files from subfolders into one folder without losing any](https://stella.sh/how/files-folders/move-files-from-subfolders-into-one-folder.md)
- [Rename multiple files at once to a clean pattern](https://stella.sh/how/files-folders/rename-multiple-files-at-once.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
