This is an old revision of the document!


Creating a .zip File

Using Linux

To create a .zip file from the File manager:

  1. Navigate to the appropriate directory/folder.
  2. Click on the first file to select it.
  3. Control-click on any other files to select them.
  4. Right-click on one of the selected files and pull down to Compress….
  5. Enter a filename (and location).
  6. Select .zip.
  7. Click on Create.

To create a .zip file from the command shell, you can use the following command:

|   zip //archive//.zip //file// [//file//]...   |
zip archive.zip file [file]…

Using MS Windows

To create a .zip file from the File Explorer:

  1. Navigate to the appropriate directory/folder.
  2. Click on the first file to select it.
  3. Control-click on any other files to select them.
  4. Right-click on one of the selected files and pull down to Send To and pull down to Compressed (zipped) Folder.

If the Java Development Kit is installed and in your PATH, you can also create a .zip file from the command shell using the following command:

|   jar -cvf //archive//.zip //file// [//file//]...     |

Using OS X

To create a .zip file from the Finder:

  1. Navigate to the appropriate folder.
  2. Click on the first file to select it.
  3. Command-click on any other files to select them.
  4. Right-click on one of the selected files and pull down to Compress…Items.

To create a .zip file from the command shell, you can use the following command:

|   zip //archive//.zip //file// [//file//]...     |

If the Java Development Kit is installed and in your PATH, you can also create a .zip file from the command shell using the following command:

|    jar -cvf //archive//.zip //file// [//file//]...     |