Command: unzip
UNZIP lists, tests, or extracts files from a ZIP archive, commonly found
on DOS systems. The default behavior (with no options) is to extract
all files from the specified ZIP archive into the current directory
(and subdirectories below it).
Syntax:
unzip [-Z] [-options[modifiers]] file[.zip] [list] [-x xlist]
[-d exdir]
Default action is to extract files in list, except those in xlist, to
to exdir; file[.zip] may be a wildcard. -Z=>ZipInfo mode ("unzip-Z"
for usage.
Options:
-p Extract files to pipe, no messages.
-f Freshen existing files, create none.
-u Update files, create if necessary.
-v List verbosely/show version info.
-x Exclude files that follow (in xlist).
-l List files (short format).
-t Test compressed archive data.
-z Display archive comment only.
-T Timestamp archive to latest.
-d Extract files indo exdir.
Modifiers:
-n Never overwrite existing files.
-o Overwrite files WITHOUT prompting.
-j Junk paths (do not make directories).
-C Match filenames case-insensitively.
-$ Label removables (-$$ => fixed disks).
-M Pipe through "more" pager.
-q Quiet mode (-qq => quieter).
-a Auto-convert any text files.
-aa Treat ALL files as text.
-L Make (some) names lowercase.
-V Retain VMS version numbers
-s Spaces in filenames => '_'
-h Shows the help.
-hh Shows more help.
Comments:
For more information see:
https://gitlab.com/FreeDOS/archiver/unzip
OR:
C:\FreeDOS\DOC\UNZIP\unzip.txt
Examples:
unzip data1 -x joe Extract all files except joe from zipfile
data1.zip.
unzip -fo foo ReadMe Quietly replace existing ReadMe if archive file
newer.
See also:
7zdec
arj
bzip2
cabext
gzip
lpq1
lzip
lzma
lzop
p7zip
slicer
tar
zip
zoo
Copyright © 1990-2009 Info-ZIP, help version 2023 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.