Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I make a zip file on OSX 10.6 with the OS native tool, and unarchive it on Windows 7, it's root directory will be doubly nested in another one with the same name, and it will contain all kinds of trash like .MACOSX and .ds_store

If I make a zip file on windows with the OS native tool, and try to unzip it on OSX with the native tool, it just creates a .ztgz file or something and then unzipping that just results in another zip file ad infinitum.

How do I make a clean zip file, for distribution, that will work correctly and cleanly on any system?

share|improve this question

You could try setting up DOSBOX in a vm and then use Dos to create your .ZIP file.

But before you get to that point, if I were you I would install 7-zip from and use that. 7-zip has lots of options and can create .ZIP files as well as its own format. Since you have access to Windows it is probably easiest to install the Windows .MSI and use the Windows Explorer right-button menu to access the 7zip GUI.

And you could combine both those options, and run Linux in a VM on your OS/X box in order to run the same flexible UNIX tools as OS/X has, but in a simpler environment with less frills and more control.

share|improve this answer

Added only as current useful information

There are utilities like BetterZip [$19.95] that will specifically exclude any platform-specific extras like Mac ._ [dot underscore] files etc.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .