Main index | Section 1 | Options |
| |
When extracting a text file, convert DOS-style line endings to Unix-style line endings. | |
| |
Match file names case-insensitively. | |
| |
Extract to stdout/screen.
When extracting files from the zipfile, they are written to stdout.
This is similar to
| |
| |
Extract files into the specified directory rather than the current directory. | |
| |
Update existing. Extract only files from the zipfile if a file with the same name already exists on disk and is older than the former. Otherwise, the file is silently skipped. | |
| |
Ignore directories stored in the zipfile; instead, extract all files directly into the extraction directory. | |
| |
Convert the names of the extracted files and directories to lowercase. | |
| |
List, rather than extract, the contents of the zipfile. | |
| |
No overwrite. When extracting a file from the zipfile, if a file with the same name already exists on disk, the file is silently skipped. | |
| |
Overwrite. When extracting a file from the zipfile, if a file with the same name already exists on disk, the existing file is replaced with the file from the zipfile. | |
| |
Extract to stdout.
When extracting files from the zipfile, they are written to stdout.
The normal output is suppressed as if
| |
| |
Extract encrypted files using a password. Putting a password on the command line using this option can be insecure. | |
| |
Quiet: print less information while extracting. | |
| |
Test: do not extract anything, but verify the checksum of every file in the archive. | |
| |
Update. When extracting a file from the zipfile, if a file with the same name already exists on disk, the existing file is replaced with the file from the zipfile if and only if the latter is newer than the former. Otherwise, the file is silently skipped. | |
| |
List verbosely, rather than extract, the contents of the zipfile.
This differs from
| |
| |
Exclude files matching the pattern pattern. | |
| |
Print four digit years in listings instead of two. | |
| |
Emulate zipinfo(1L) mode. Enabling zipinfo(1L) mode changes the way in which additional arguments are parsed. Currently only zipinfo(1L) mode 1 is supported, which lists the file names one per line. | |
Note that only one of
For compatibility reasons, command-line options will be recognized if they are listed not only before but also after the name of the zipfile.
Normally, the
The unzip utility is only able to process ZIP archives handled by libarchive(3). Depending on the installed version of libarchive(3), this may or may not include self-extracting or ZIPX archives.
UNZIP (1) | September 25, 2021 |
Main index | Section 1 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.