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}; defaults to "zip").
--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}
--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
"