Unzip

Provides decompression for classic zip formats. Includes supports for Unicode and encryption if appropriate USE flags have been selected.

Environment variables
The following environment variables are available:


 * UNZIP - Sets unzip to run with any option.
 * UNZIP_OPTS - For use in VMS systems. Does the same as UNZIP (see above).

See the unzip man page for more environment variable information.

Usage
Extracting all the compressed file in the current directory:

Decompressing an archive without creating directories:

Forcefully overwrite existing files when decompressing:

Decompressing archive to another directory:

See the content of a zip file without decompressing:

Exclude certain file during the decompression:

List detailed information about the archive:

Converting text files when decompressing

To test our test.zip, printing only a summary message indicating whether the archive is OK or not:

To test all zipfiles in the current directory, printing only the summaries:

To extract all text source files only '.txt':

To extract only newer versions of the files already in the current directory:

To extract newer versions of the files already in the current directory and to create any files not already there:

Extract a password protected zip file: