Usage:
zzpack
[ option ] ... [ - ] archive-file file-or-dir ...
-
Pack all of file-or-dir ... into archive-file.
Options
--help
-
Print this text and terminate.
--archive-format
format
-
The archive format to use (one of ${archive.formats}; the default is determined from the archive file name).
--compression-format
format
-
The format to use for the compression of the archive file (one of ${compression.formats}) (optional)
--dont-sort-directory-members
-
By default directory members are sorted lexicographically in order to achieve deterministic results.
--look-into
format-glob:path-glob
-
Look into compressed and archive contents if their format:path matches the glob.
The default is to look into any recognised archive or compressed contents.
Supported archive formats in this runtime configuration are:
${archive.formats}
Supported compression formats in this runtime configuration are:
${compression.formats}
--rename
glob
-
Modifies entry names, e.g.
"(*).c=$1.c.bak"
.
--zip-output-entry-compression-level
NO_COMPRESSION
|FASTEST
|FASTER
|FAST
|MEDIUM_FAST
|NORMAL
|HIGHER
|MAXIMUM
|PRE_ULTRA
|ULTRA
-
Compression level of zip archive entries.
--7z-input-file-password
value
-
Password to decrypt password-protected 7ZIP input files. (Encryption of 7ZIP output files is not supported.)
--zip-input-file-password
value
-
Password to decrypt password-protected zip archive entries.
--zip-output-file-password
value
-
Password to encrypt password-protected zip archive entries (sets encryption method to ZIP_STANDARD).
--password
value
-
All of the above.
--zip-output-file-encryption-method
NONE
|ZIP_STANDARD
|ZIP_STANDARD_VARIANT_STRONG
|AES
-
Method to encrypt password-protected zip archive entries.
--nowarn
-
Suppress all messages except errors.
-q
--quiet
-
Suppress all normal output.
--verbose
-
Print verbose messages.
--debug
-
Print verbose and debug messages.
--log
level:logger:handler:formatter:format
-
Add logging at level FINE on logger 'de.unkrig' to STDERR using the FormatFormatter and SIMPLE format, or the
given arguments which are all optional.
--zip
--zz
--nested-zip
--gzip
-
Deprecated - Use
--look-into
instead.
Example globs
dir/file
-
File "
file
" in directory "dir
"
file.gz%
-
Compressed file "
file.gz
"
file.zip!dir/file
-
Entry "
dir/file
" in archive file "dir/file.zip
"
file.tar.gz%!dir/file
-
Entry "
dir/file
" in the compressed archive file "file.tar.gz
"
*/x
-
File "
x
" in an immediate subdirectory
**/x
-
File "
x
" in any subdirectory
***/x
-
File "
x
" in any subdirectory, or any entry "**/x
" in any archive file in any
subdirectory
a,dir/file.7z!dir/b
-
File "
a
" and entry "dir/b
" in archive file "dir/file.7z
"
~*.c
-
Files that don't end with "
.c
"
~*.c~*.h
-
Files that don't end with "
.c
" or ".h
"
~*.c~*.h,foo.c
-
"
foo.c
" plus all files that don't end with ".c
" or ".h
"