CCL-ZIP is a small Info-ZIP clone written in Java.

CCL-ZIP does support the basic options like adding and deleting zipfile entries. Nevertheless it has a feature which is missing in the original zip program. It is the ability to specify the directory under which files shall be stored in the zip archive.

You can always find the latest version of this page at: http://www.kclee.com/clemens/java/zip/

For example:

   zip  test  -e example  ../../file.txt
will create an archive with the following table of contents:
   Archive:  test.zip
    Length    Date    Time    Name
    ------    ----    ----    ----
         5  03-17-98  08:02   example/file.txt
    ------                    -------
         5                    1 file
To achieve the same with the original zip program you do the following on a Windows 95 system:
   cd ../../..
   zip .../test example/file.txt
Problem is, this does not work on a Unix shell. On Unix you have to put both commands in the same line separated with a ';'. This now in turn doesn't work any more on a DOS alike shell.

Besides of this unportability, you are completely out of luck if 'file.txt' doesn't lie in a directory named 'example'.

Features

  • Add or replace zipfile entries
  • Delete entries in zipfile
  • Junk (don't record) directory names
  • Store files with specified path

System Requirements

Java JDK 1.1.3 or higher

    Download

    CCL-ZIP Version 2.8 
    If you want to get notified when new updates for CCL-ZIP are available please press the following button:
    (thanks for your interest)

    Installation

    1. First you need a Java runtime. If you don't have one, go to http://www.javasoft.com/products/JDK/1.1/ and get the java development kit 1.1.5.
    2. Unzip the zip2.8.zip archive.
    3. Include zip2.8/lib/zip.jar into your classpath or better make yourself a shell script/batch file (you can edit the ones that come with CCL-ZIP).
    4. To use zip, just type java zip ... or start your appropriate shell script.

    Usage

    Usage: ZIP [-j] [-d] [-e string] [-r] [-version] [-help] zipfile files
           j:         junk (don't record) directory names
           d:         delete entries in zipfile
           e:         insErt entries with directory 'string'
           r:         recurse into directories
                      (store files with specified path)
           version:   prints the version number of the program
           help:      prints this help message

    For comparison, here are the options of the Info-ZIP tool.

    Release History

    Version 2.8

    Version 2.8 has been released on May 14, 2000

    Version 2.5

    Version 2.5 has been released on May 13, 2000

    What's New

    1. '-r' flag recurses into directories.

    Bugs Fixed

    1. './foo.bar' gets saved as 'foo.bar'.
    2. Fixed bug when '-e' option was missing.

    Version 1.1

    Version 1.1 has been released on March 22, 1998


    Go back to my Java page.
     

    Chr. Clemens Lee, email: clemens@kclee.com               (my resume)