This runnable class emulates the
zip
command. It understands a subset
of
zip
's command line arguments.
Usage:
java -cp [classpath] org.at4j.zip.prog.Zip [options] file file[s]
Where:
classpath - Should include the at4j, bzip, lzma and entityfs-core Jars.
options - Command options. See below.
file - The name and path of the Zip file to create.
file[s] - The files and directories to add to the Zip archive. If the
-r option is used, directories are added recursively.
Options:
-r - Add directories recursively.
--timing - After building the archive, print out how long it took.