data (e.g. a SFX stub) from the archive.
-k
--DOS‐names
Attempt to convert the names and paths to conform to MSDOS, store
only the MSDOS attribute (just the user write attribute from
Unix), and mark the entry as made under MSDOS (even though it was
not); for compatibility with PKUNZIP under MSDOS which cannot
handle certain names such as those with two dots.
-l
--to‐crlf
Translate the Unix end‐of‐line character LF into the MSDOS con‐
vention CR LF. This option should not be used on binary files.
This option can be used on Unix if the zip file is intended for
PKUNZIP under MSDOS. If the input files already contain CR LF,
this option adds an extra CR. This is to ensure that unzip ‐a on
Unix will get back an exact copy of the original file, to undo
the effect of zip ‐l. See ‐ll for how binary files are handled.
-la
--log‐append
Append to existing logfile. Default is to overwrite.
-lf logfilepath
--logfile‐path logfilepath
Open a logfile at the given path. By default any existing file
at that location is overwritten, but the -la option will result
in an existing file being opened and the new log information ap‐
pended to any existing information. Only warnings and errors are
written to the log unless the -li option is also given, then all
information messages are also written to the log.
-li
--log‐info
Include information messages, such as file names being zipped, in
the log. The default is to only include the command line, any
warnings and errors, and the final status.
-ll
--from‐crlf
Translate the MSDOS end‐of‐line CR LF into Unix LF. This option
should not be used on binary files. This option can be used on
MSDOS if the zip file is intended for unzip under Unix. If the
file is converted and the file is later determined to be binary a
warning is issued and the file is probably corrupted. In this
release if ‐ll detects binary in the first buffer read from a
file, zip now issues a warning and skips line end conversion on
the file. This check seems to catch all binary files tested, but
the original check remains and if a converted file is later de‐
termined to be binary that warning is still issued. A new algo‐
rithm is now being used for binary detection that should allow
line end conversion of text files in UTF‐8 and similar encodings.
-L
--license
Display the zip license.
-m
--move
Move the specified files into the zip archive; actually, this
deletes the target directories/files after making the specified
zip archive. If a directory becomes empty after removal of the
files, the directory is also removed. No deletions are done until
zip has created the archive without error. This is useful for
conserving disk space, but is potentially dangerous so it is rec‐
ommended to use it in combination with -T to test the archive be‐
fore removing all input files.
-MM
--must‐match
All input patterns must match at least one file and all input
files found must be readable. Normally when an input pattern
does not match a file the "name not matched" warning is issued
and when an input file has been found but later is missing or not
readable a missing or not readable