zzpatch
[ option ... ]zzpatch
[ option ... ] file-or-dirzzpatch
[ option ... ] file-or-dir new-file-or-dirzzpatch
[ option ... ] file-or-dir ... existing-dir--update
glob=
update-file [ condition ... ]--substitute
glob pattern replacement [ condition ... ]$0
", "$1
", "$2
", etc. expand to the captured groups of the match.${...}
" is expanded as an expression, e.g. "${m.group().toUpperCase()}
"xutnrfaebQE
" are supported as in a regex
Conditions (see below) apply per match; the parameters of the "--report
" and "--iff
"
conditions are:
--patch
glob patch-file [ condition ... ]
Conditions (see below) apply per match; the parameters of the "--report
" and "--iff
"
conditions are:
--remove
glob [ condition ... ]--rename
glob [ condition ... ](*).c=$1.c.orig
".
Multiple "--rename
" options are applied in the given order.
--add
glob name contents-file [ condition ... ]These control the preceding file transformation.
--report
exprpath + ": Add '" + name + "' from '" + contentsFile + "'"
". The parameters of the expr
depend on the file transformation (see above).
--iff
expr--look-into
format-glob:
path-glob${archive.formats}
${compression.formats}
--dont-sort-directory-members
--patch-file-encoding
charset--patch
"); the default is "${file.encoding}
".
--check
"--check --verbose
" also prints the path of the first file or archive entry that would be
changed.
"--check --verbose --keep-going
" prints the pathes of all files and archive entries that
would be changed.
--check-before-transformation
--keep
--input-encoding
charset--substitute
" and "--patch
"); the default is "${file.encoding}
".
--output-encoding
charset--substitute
" and "--patch
"); the default is "${file.encoding}
".
--encoding
charset--help
--keep-going
--zip-output-entry-compression-level
NO_COMPRESSION
|FASTEST
|FASTER
|FAST
|MEDIUM_FAST
|NORMAL
|HIGHER
|MAXIMUM
|PRE_ULTRA
|ULTRA
--7z-input-file-password
value--zip-input-file-password
value--zip-output-file-password
value--password
value--zip-output-file-encryption-method
NONE
|ZIP_STANDARD
|ZIP_STANDARD_VARIANT_STRONG
|AES
--nowarn
--quiet
--verbose
--debug
--log
level:
logger:
handler:
formatter:
formatFINE
on logger "de.unkrig
" to STDERR using the "FormatFormatter
"
and "SIMPLE
" format, or the given arguments, which are all optional.
Check the descriptions of wildcards, includes / excludes and replacements.
Examples:
dir/file
file.gz%
file.zip!dir/file
file.tar.gz%!dir/file
dir/file
" in the compressed archive file "file.tar.gz
"
*/x
x
" in an immediate subdirectory
**/x
x
" in any subdirectory
***/x
x
" in any subdirectory, or any entry "**/x
" in any archive file in any
subdirectory
a,dir/file.7z!dir/b
a
" and entry "dir/b
" in archive file "dir/file.7z
"
~*.c
.c
"
~*.c~*.h
.c
" or ".h
"
~*.c~*.h,foo.c
foo.c
" plus all files that don't end with ".c
" or ".h
"
For the precise description of the supported regular-expression constructs, see here.
For the precise description of the replacement format, see here.
For the precise description of the supported expression constructs, see here.