TrumanWong

zipinfo

Used to list compressed file information

Supplementary instructions

zipinfo command is used to list compressed file information. Execute the zipinfo command to obtain detailed information about the zip compressed file.

grammar

zipinfo(options)(parameters)

Options

-1: Only list file names;
-2: The effect of this parameter is similar to specifying the "-1" parameter, but it can be used with the "-h", "-t" and "-z" parameters;
-h: List only the file names of compressed files;
-l: The effect of this parameter is similar to specifying the "-m" parameter, but the size of the original file will be listed instead of the compression ratio of each file;
-m: The effect of this parameter is similar to specifying the "-s" parameter, but the compression rate of each file will be listed;
-M: If the information content exceeds one screen, use a method similar to the more command to list the information;
-s: List the contents of compressed files with an effect similar to executing the "ls-l" command;
-t: Only list the number of files contained in the compressed file, the file size before and after compression, and the compression rate;
-T: List the date and time of each file in the compressed file in the order of year, month, day, hour, minute and second;
-v: Display detailed information about each file in the compressed file;
-x<template style>: Do not list information about files that meet the conditions;
-z: If the compressed file contains comments, the comments will be displayed.

Parameters

File: Specify a compressed package in zip format.