精品欧美一区二区三区在线观看 _久久久久国色av免费观看性色_国产精品久久在线观看_亚洲第一综合网站_91精品又粗又猛又爽_小泽玛利亚一区二区免费_91亚洲精品国偷拍自产在线观看 _久久精品视频在线播放_美女精品久久久_欧美日韩国产成人在线

unzip 中文man頁面

系統
unzip為.zip壓縮文件的解壓縮程序。

功能說明:解壓縮zip文件

語法:unzip[-cflptuvz][-agCjLMnoqsVX][-P<密碼>][.zip文件][文件][-d<目錄>][-x<文件>]或unzip[-Z]

補充說明:unzip為.zip壓縮文件的解壓縮程序。

參數

-c將解壓縮的結果顯示到屏幕上,并對字符做適當的轉換。

-f更新現有的文件。

-l顯示壓縮文件內所包含的文件。

-p與-c參數類似,會將解壓縮的結果顯示到屏幕上,但不會執行任何的轉換。

-t檢查壓縮文件是否正確。

-u與-f參數類似,但是除了更新現有的文件外,也會將壓縮文件中的其他文件解壓縮到目錄中。

-v執行是時顯示詳細的信息。

-z僅顯示壓縮文件的備注文字。

-a對文本文件進行必要的字符轉換。

-b不要對文本文件進行字符轉換。

-C壓縮文件中的文件名稱區分大小寫。

-j不處理壓縮文件中原有的目錄路徑。

-L將壓縮文件中的全部文件名改為小寫。

-M將輸出結果送到more程序處理。

-n解壓縮時不要覆蓋原有的文件。

-o不必先詢問用戶,unzip執行后覆蓋原有文件。

-P<密碼>使用zip的密碼選項。

-q執行時不顯示任何信息。

-s將文件名中的空白字符轉換為底線字符。

-V保留VMS的文件版本信息。

-X解壓縮時同時回存文件原來的UID/GID。

[.zip文件]指定.zip壓縮文件。

[文件]指定要處理.zip壓縮文件中的哪些文件。

-d<目錄>指定文件解壓縮后所要存儲的目錄。

-x<文件>指定不要處理.zip壓縮文件中的哪些文件。

-Zunzip-Z等于執行zipinfo指令。

#p#

NAME

unzip - list, test and extract compressed files in a ZIP archive  

SYNOPSIS

unzip [-Z] [-cflptuvz[abjnoqsCLMVX$/:]] file[.zip] [file(s) ...] [-x xfile(s) ...] [-d exdir]  

DESCRIPTION

unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. The default behavior (with no options) is to extract into the current directory (and subdirectories below it) all files from the specified ZIP archive. A companion program, zip(1L), creates ZIP archives; both programs are compatible with archives created by PKWARE's PKZIP and PKUNZIP for MS-DOS, but in many cases the program options or default behaviors differ.  

ARGUMENTS

file[.zip]
Path of the ZIP archive(s). If the file specification is a wildcard, each matching file is processed in an order determined by the operating system (or file system). Only the filename can be a wildcard; the path itself cannot. Wildcard expressions are similar to those supported in commonly used Unix shells (sh, ksh, csh) and may contain:
*
matches a sequence of 0 or more characters
?
matches exactly 1 character
[...]
matches any single character found inside the brackets; ranges are specified by a beginning character, a hyphen, and an ending character. If an exclamation point or a caret (`!' or `^') follows the left bracket, then the range of characters within the brackets is complemented (that is, anything except the characters inside the brackets is considered a match).
(Be sure to quote any character that might otherwise be interpreted or modified by the operating system, particularly under Unix and VMS.) If no matches are found, the specification is assumed to be a literal filename; and if that also fails, the suffix .zip is appended. Note that self-extracting ZIP files are supported, as with any other ZIP archive; just specify the .exe suffix (if any) explicitly.
[file(s)]
An optional list of archive members to be processed, separated by spaces. (VMS versions compiled with VMSCLI defined must delimit files with commas instead. See -v in OPTIONS below.) Regular expressions (wildcards) may be used to match multiple members; see above. Again, be sure to quote expressions that would otherwise be expanded or modified by the operating system.
[-x xfile(s)]
An optional list of archive members to be excluded from processing. Since wildcard characters match directory separators (`/'), this option may be used to exclude any files that are in subdirectories. For example, ``unzip foo *.[ch] -x */*'' would extract all C source files in the main directory, but none in any subdirectories. Without the -x option, all C source files in all directories within the zipfile would be extracted.
[-d exdir]
An optional directory to which to extract files. By default, all files and subdirectories are recreated in the current directory; the -d option allows extraction in an arbitrary directory (always assuming one has permission to write to the directory). This option need not appear at the end of the command line; it is also accepted before the zipfile specification (with the normal options), immediately after the zipfile specification, or between the file(s) and the -x option. The option and directory may be concatenated without any white space between them, but note that this may cause normal shell behavior to be suppressed. In particular, ``-d ~'' (tilde) is expanded by Unix C shells into the name of the user's home directory, but ``-d~'' is treated as a literal subdirectory ``~'' of the current directory.

OPTIONS

Note that, in order to support obsolescent hardware, unzip's usage screen is limited to 22 or 23 lines and should therefore be considered only a reminder of the basic unzip syntax rather than an exhaustive list of all possible flags. The exhaustive list follows:

-Z
zipinfo(1L) mode. If the first option on the command line is -Z, the remaining options are taken to be zipinfo(1L) options. See the appropriate manual page for a description of these options.
-A
[OS/2, Unix DLL] print extended help for the DLL's programming interface (API).
-c
extract files to stdout/screen (``CRT''). This option is similar to the -p option except that the name of each file is printed as it is extracted, the -a option is allowed, and ASCII-EBCDIC conversion is automatically performed if appropriate. This option is not listed in the unzip usage screen.
-f
freshen existing files, i.e., extract only those files that already exist on disk and that are newer than the disk copies. By default unzip queries before overwriting, but the -o option may be used to suppress the queries. Note that under many operating systems, the TZ (timezone) environment variable must be set correctly in order for -f and -u to work properly (under Unix the variable is usually set automatically). The reasons for this are somewhat subtle but have to do with the differences between DOS-format file times (always local time) and Unix-format times (always in GMT/UTC) and the necessity to compare the two. A typical TZ value is ``PST8PDT'' (US Pacific time with automatic adjustment for Daylight Savings Time or ``summer time'').
-l
list archive files (short format). The names, uncompressed file sizes and modification dates and times of the specified files are printed, along with totals for all files specified. If UnZip was compiled with OS2_EAS defined, the -l option also lists columns for the sizes of stored OS/2 extended attributes (EAs) and OS/2 access control lists (ACLs). In addition, the zipfile comment and individual file comments (if any) are displayed. If a file was archived from a single-case file system (for example, the old MS-DOS FAT file system) and the -L option was given, the filename is converted to lowercase and is prefixed with a caret (^).
-p
extract files to pipe (stdout). Nothing but the file data is sent to stdout, and the files are always extracted in binary format, just as they are stored (no conversions).
-t
test archive files. This option extracts each specified file in memory and compares the CRC (cyclic redundancy check, an enhanced checksum) of the expanded file with the original file's stored CRC value.
-T
[most OSes] set the timestamp on the archive(s) to that of the newest file in each one. This corresponds to zip's -go option except that it can be used on wildcard zipfiles (e.g., ``unzip -T \*.zip'') and is much faster.
-u
update existing files and create new ones if needed. This option performs the same function as the -f option, extracting (with query) files that are newer than those with the same name on disk, and in addition it extracts those files that do not already exist on disk. See -f above for information on setting the timezone properly.
-v
be verbose or print diagnostic version info. This option has evolved and now behaves as both an option and a modifier. As an option it has two purposes: when a zipfile is specified with no other options, -v lists archive files verbosely, adding to the basic -l info the compression method, compressed size, compression ratio and 32-bit CRC. When no zipfile is specified (that is, the complete command is simply ``unzip -v''), a diagnostic screen is printed. In addition to the normal header with release date and version, unzip lists the home Info-ZIP ftp site and where to find a list of other ftp and non-ftp sites; the target operating system for which it was compiled, as well as (possibly) the hardware on which it was compiled, the compiler and version used, and the compilation date; any special compilation options that might affect the program's operation (see also DECRYPTION below); and any options stored in environment variables that might do the same (see ENVIRONMENT OPTIONS below). As a modifier it works in conjunction with other options (e.g., -t) to produce more verbose or debugging output; this is not yet fully implemented but will be in future releases.
-z
display only the archive comment.

MODIFIERS

-a
convert text files. Ordinarily all files are extracted exactly as they are stored (as ``binary'' files). The -a option causes files identified by zip as text files (those with the `t' label in zipinfo listings, rather than `b') to be automatically extracted as such, converting line endings, end-of-file characters and the character set itself as necessary. (For example, Unix files use line feeds (LFs) for end-of-line (EOL) and have no end-of-file (EOF) marker; Macintoshes use carriage returns (CRs) for EOLs; and most PC operating systems use CR+LF for EOLs and control-Z for EOF. In addition, IBM mainframes and the Michigan Terminal System use EBCDIC rather than the more common ASCII character set, and NT supports Unicode.) Note that zip's identification of text files is by no means perfect; some ``text'' files may actually be binary and vice versa. unzip therefore prints ``[text]'' or ``[binary]'' as a visual check for each file it extracts when using the -a option. The -aa option forces all files to be extracted as text, regardless of the supposed file type.
-b
[general] treat all files as binary (no text conversions). This is a shortcut for ---a.
-b
[Tandem] force the creation files with filecode type 180 ('C') when extracting Zip entries marked as "text". (On Tandem, -a is enabled by default, see above).
-b
[VMS] auto-convert binary files (see -a above) to fixed-length, 512-byte record format. Doubling the option (-bb) forces all files to be extracted in this format. When extracting to standard output (-c or -p option in effect), the default conversion of text record delimiters is disabled for binary (-b) resp. all (-bb) files.
-B
[Unix only, and only if compiled with UNIXBACKUP defined] save a backup copy of each overwritten file with a tilde appended (e.g., the old copy of ``foo'' is renamed to ``foo~''). This is similar to the default behavior of emacs(1) in many locations.
-C
match filenames case-insensitively. unzip's philosophy is ``you get what you ask for'' (this is also responsible for the -L/-U change; see the relevant options below). Because some file systems are fully case-sensitive (notably those under the Unix operating system) and because both ZIP archives and unzip itself are portable across platforms, unzip's default behavior is to match both wildcard and literal filenames case-sensitively. That is, specifying ``makefile'' on the command line will only match ``makefile'' in the archive, not ``Makefile'' or ``MAKEFILE'' (and similarly for wildcard specifications). Since this does not correspond to the behavior of many other operating/file systems (for example, OS/2 HPFS, which preserves mixed case but is not sensitive to it), the -C option may be used to force all filename matches to be case-insensitive. In the example above, all three files would then match ``makefile'' (or ``make*'', or similar). The -C option affects files in both the normal file list and the excluded-file list (xlist).
-E
[MacOS only] display contents of MacOS extra field during restore operation.
-F
[Acorn only] suppress removal of NFS filetype extension from stored filenames.
-F
[non-Acorn systems supporting long filenames with embedded commas, and only if compiled with ACORN_FTYPE_NFS defined] translate filetype information from ACORN RISC OS extra field blocks into a NFS filetype extension and append it to the names of the extracted files. (When the stored filename appears to already have an appended NFS filetype extension, it is replaced by the info from the extra field.)
-i
[MacOS only] ignore filenames stored in MacOS extra fields. Instead, the most compatible filename stored in the generic part of the entry's header is used.
-j
junk paths. The archive's directory structure is not recreated; all files are deposited in the extraction directory (by default, the current one).
-J
[BeOS only] junk file attributes. The file's BeOS file attributes are not restored, just the file's data.
-J
[MacOS only] ignore MacOS extra fields. All Macintosh specific info is skipped. Data-fork and resource-fork are restored as separate files.
-L
convert to lowercase any filename originating on an uppercase-only operating system or file system. (This was unzip's default behavior in releases prior to 5.11; the new default behavior is identical to the old behavior with the -U option, which is now obsolete and will be removed in a future release.) Depending on the archiver, files archived under single-case file systems (VMS, old MS-DOS FAT, etc.) may be stored as all-uppercase names; this can be ugly or inconvenient when extracting to a case-preserving file system such as OS/2 HPFS or a case-sensitive one such as under Unix. By default unzip lists and extracts such filenames exactly as they're stored (excepting truncation, conversion of unsupported characters, etc.); this option causes the names of all files from certain systems to be converted to lowercase. The -LL option forces conversion of every filename to lowercase, regardless of the originating file system.
-M
pipe all output through an internal pager similar to the Unix more(1) command. At the end of a screenful of output, unzip pauses with a ``--More--'' prompt; the next screenful may be viewed by pressing the Enter (Return) key or the space bar. unzip can be terminated by pressing the ``q'' key and, on some systems, the Enter/Return key. Unlike Unix more(1), there is no forward-searching or editing capability. Also, unzip doesn't notice if long lines wrap at the edge of the screen, effectively resulting in the printing of two or more lines and the likelihood that some text will scroll off the top of the screen before being viewed. On some systems the number of available lines on the screen is not detected, in which case unzip assumes the height is 24 lines.
-n
never overwrite existing files. If a file already exists, skip the extraction of that file without prompting. By default unzip queries before extracting any file that already exists; the user may choose to overwrite only the current file, overwrite all files, skip extraction of the current file, skip extraction of all existing files, or rename the current file.
-N
[Amiga] extract file comments as Amiga filenotes. File comments are created with the -c option of zip(1L), or with the -N option of the Amiga port of zip(1L), which stores filenotes as comments.
-o
overwrite existing files without prompting. This is a dangerous option, so use it with care. (It is often used with -f, however, and is the only way to overwrite directory EAs under OS/2.)
-P password
use password to decrypt encrypted zipfile entries (if any). THIS IS INSECURE! Many multi-user operating systems provide ways for any user to see the current command line of any other user; even on stand-alone systems there is always the threat of over-the-shoulder peeking. Storing the plaintext password as part of a command line in an automated script is even worse. Whenever possible, use the non-echoing, interactive prompt to enter passwords. (And where security is truly important, use strong encryption such as Pretty Good Privacy instead of the relatively weak encryption provided by standard zipfile utilities.)
-q
perform operations quietly (-qq = even quieter). Ordinarily unzip prints the names of the files it's extracting or testing, the extraction methods, any file or zipfile comments that may be stored in the archive, and possibly a summary when finished with each archive. The -q[q] options suppress the printing of some or all of these messages.
-s
[OS/2, NT, MS-DOS] convert spaces in filenames to underscores. Since all PC operating systems allow spaces in filenames, unzip by default extracts filenames with spaces intact (e.g., ``EA DATA. SF''). This can be awkward, however, since MS-DOS in particular does not gracefully support spaces in filenames. Conversion of spaces to underscores can eliminate the awkwardness in some cases.
-U
(obsolete; to be removed in a future release) leave filenames uppercase if created under MS-DOS, VMS, etc. See -L above.
-V
retain (VMS) file version numbers. VMS files can be stored with a version number, in the format file.ext;##. By default the ``;##'' version numbers are stripped, but this option allows them to be retained. (On file systems that limit filenames to particularly short lengths, the version numbers may be truncated or stripped regardless of this option.)
-X
[VMS, Unix, OS/2, NT] restore owner/protection info (UICs) under VMS, or user and group info (UID/GID) under Unix, or access control lists (ACLs) under certain network-enabled versions of OS/2 (Warp Server with IBM LAN Server/Requester 3.0 to 5.0; Warp Connect with IBM Peer 1.0), or security ACLs under Windows NT. In most cases this will require special system privileges, and doubling the option (-XX) under NT instructs unzip to use privileges for extraction; but under Unix, for example, a user who belongs to several groups can restore files owned by any of those groups, as long as the user IDs match his or her own. Note that ordinary file attributes are always restored--this option applies only to optional, extra ownership info available on some operating systems. [NT's access control lists do not appear to be especially compatible with OS/2's, so no attempt is made at cross-platform portability of access privileges. It is not clear under what conditions this would ever be useful anyway.]
-$
[MS-DOS, OS/2, NT] restore the volume label if the extraction medium is removable (e.g., a diskette). Doubling the option (-$$) allows fixed media (hard disks) to be labelled as well. By default, volume labels are ignored.
-/ extensions
[Acorn only] overrides the extension list supplied by Unzip$Ext environment variable. During extraction, filename extensions that match one of the items in this extension list are swapped in front of the base name of the extracted file.
-:
[all but Acorn, VM/CMS, MVS, Tandem] allows to extract archive members into locations outside of the current `` extraction root folder''. For security reasons, unzip normally removes ``parent dir'' path components (``../'') from the names of extracted file. This safety feature (new for version 5.50) prevents unzip from accidentally writing files to ``sensitive'' areas outside the active extraction folder tree head. The -: option lets unzip switch back to its previous, more liberal behaviour, to allow exact extraction of (older) archives that used ``../'' components to create multiple directory trees at the level of the current extraction folder. This option does not enable writing explicitly to the root directory (``/''). To achieve this, it is necessary to set the extraction target folder to root (e.g. -d / ). However, when the -: option is specified, it is still possible to implicitly write to the root directory by specifiying enough ``../'' path components within the zip file. Use this option with extreme caution.

ENVIRONMENT OPTIONS

unzip's default behavior may be modified via options placed in an environment variable. This can be done with any option, but it is probably most useful with the -a, -L, -C, -q, -o, or -n modifiers: make unzip auto-convert text files by default, make it convert filenames from uppercase systems to lowercase, make it match names case-insensitively, make it quieter, or make it always overwrite or never overwrite files as it extracts them. For example, to make unzip act as quietly as possible, only reporting errors, one would use one of the following commands:


  Unix Bourne shell:
UNZIP=-qq; export UNZIP

  Unix C shell:
setenv UNZIP -qq

  OS/2 or MS-DOS:
set UNZIP=-qq

  VMS (quotes for lowercase):
define UNZIP_OPTS ""-qq""

Environment options are, in effect, considered to be just like any other command-line options, except that they are effectively the first options on the command line. To override an environment option, one may use the ``minus operator'' to remove it. For instance, to override one of the quiet-flags in the example above, use the command

unzip --q[other options] zipfile

The first hyphen is the normal switch character, and the second is a minus sign, acting on the q option. Thus the effect here is to cancel one quantum of quietness. To cancel both quiet flags, two (or more) minuses may be used:

unzip -t--q zipfile
unzip ---qt zipfile

(the two are equivalent). This may seem awkward or confusing, but it is reasonably intuitive: just ignore the first hyphen and go from there. It is also consistent with the behavior of Unix nice(1).

As suggested by the examples above, the default variable names are UNZIP_OPTS for VMS (where the symbol used to install unzip as a foreign command would otherwise be confused with the environment variable), and UNZIP for all other operating systems. For compatibility with zip(1L), UNZIPOPT is also accepted (don't ask). If both UNZIP and UNZIPOPT are defined, however, UNZIP takes precedence. unzip's diagnostic option (-v with no zipfile name) can be used to check the values of all four possible unzip and zipinfo environment variables.

The timezone variable (TZ) should be set according to the local timezone in order for the -f and -u to operate correctly. See the description of -f above for details. This variable may also be necessary in order for timestamps on extracted files to be set correctly. Under Windows 95/NT unzip should know the correct timezone even if TZ is unset, assuming the timezone is correctly set in the Control Panel.  

DECRYPTION

Encrypted archives are fully supported by Info-ZIP software, but due to United States export restrictions, de-/encryption support might be disabled in your compiled binary. However, since spring 2000, US export restrictions have been liberated, and our source archives do now include full crypt code. In case you need binary distributions with crypt support enabled, see the file ``WHERE'' in any Info-ZIP source or binary distribution for locations both inside and outside the US.

Some compiled versions of unzip may not support decryption. To check a version for crypt support, either attempt to test or extract an encrypted archive, or else check unzip's diagnostic screen (see the -v option above) for ``[decryption]'' as one of the special compilation options.

As noted above, the -P option may be used to supply a password on the command line, but at a cost in security. The preferred decryption method is simply to extract normally; if a zipfile member is encrypted, unzip will prompt for the password without echoing what is typed. unzip continues to use the same password as long as it appears to be valid, by testing a 12-byte header on each file. The correct password will always check out against the header, but there is a 1-in-256 chance that an incorrect password will as well. (This is a security feature of the PKWARE zipfile format; it helps prevent brute-force attacks that might otherwise gain a large speed advantage by testing only the header.) In the case that an incorrect password is given but it passes the header test anyway, either an incorrect CRC will be generated for the extracted data or else unzip will fail during the extraction because the ``decrypted'' bytes do not constitute a valid compressed data stream.

If the first password fails the header check on some file, unzip will prompt for another password, and so on until all files are extracted. If a password is not known, entering a null password (that is, just a carriage return or ``Enter'') is taken as a signal to skip all further prompting. Only unencrypted files in the archive(s) will thereafter be extracted. (In fact, that's not quite true; older versions of zip(1L) and zipcloak(1L) allowed null passwords, so unzip checks each encrypted file to see if the null password works. This may result in ``false positives'' and extraction errors, as noted above.)

Archives encrypted with 8-bit passwords (for example, passwords with accented European characters) may not be portable across systems and/or other archivers. This problem stems from the use of multiple encoding methods for such characters, including Latin-1 (ISO 8859-1) and OEM code page 850. DOS PKZIP 2.04g uses the OEM code page; Windows PKZIP 2.50 uses Latin-1 (and is therefore incompatible with DOS PKZIP); Info-ZIP uses the OEM code page on DOS, OS/2 and Win3.x ports but Latin-1 everywhere else; and Nico Mak's WinZip 6.x does not allow 8-bit passwords at all. UnZip 5.3 (or newer) attempts to use the default character set first (e.g., Latin-1), followed by the alternate one (e.g., OEM code page) to test passwords. On EBCDIC systems, if both of these fail, EBCDIC encoding will be tested as a last resort. (EBCDIC is not tested on non-EBCDIC systems, because there are no known archivers that encrypt using EBCDIC encoding.) ISO character encodings other than Latin-1 are not supported.  

EXAMPLES

To use unzip to extract all members of the archive letters.zip into the current directory and subdirectories below it, creating any subdirectories as necessary:

unzip letters

To extract all members of letters.zip into the current directory only:

unzip -j letters

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

unzip -tq letters

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

unzip -tq \*.zip

(The backslash before the asterisk is only required if the shell expands wildcards, as in Unix; double quotes could have been used instead, as in the source examples below.)  To extract to standard output all members of letters.zip whose names end in .tex, auto-converting to the local end-of-line convention and piping the output into more(1):

unzip -ca letters \*.tex | more

To extract the binary file paper1.dvi to standard output and pipe it to a printing program:

unzip -p articles paper1.dvi | dvips

To extract all FORTRAN and C source files--*.f, *.c, *.h, and Makefile--into the /tmp directory:

unzip source.zip "*.[fch]" Makefile -d /tmp

(the double quotes are necessary only in Unix and only if globbing is turned on). To extract all FORTRAN and C source files, regardless of case (e.g., both *.c and *.C, and any makefile, Makefile, MAKEFILE or similar):

unzip -C source.zip "*.[fch]" makefile -d /tmp

To extract any such files but convert any uppercase MS-DOS or VMS names to lowercase and convert the line-endings of all of the files to the local standard (without respect to any files that might be marked ``binary''):

unzip -aaCL source.zip "*.[fch]" makefile -d /tmp

To extract only newer versions of the files already in the current directory, without querying (NOTE: be careful of unzipping in one timezone a zipfile created in another--ZIP archives other than those created by Zip 2.1 or later contain no timezone information, and a ``newer'' file from an eastern timezone may, in fact, be older):

unzip -fo sources

To extract newer versions of the files already in the current directory and to create any files not already there (same caveat as previous example):

unzip -uo sources

To display a diagnostic screen showing which unzip and zipinfo options are stored in environment variables, whether decryption support was compiled in, the compiler with which unzip was compiled, etc.:

unzip -v

In the last five examples, assume that UNZIP or UNZIP_OPTS is set to -q. To do a singly quiet listing:

unzip -l file.zip

To do a doubly quiet listing:

unzip -ql file.zip

(Note that the ``.zip'' is generally not necessary.) To do a standard listing:

unzip --ql file.zip

or

unzip -l-q file.zip

or

unzip -l--q file.zip

(Extra minuses in options don't hurt.)  

TIPS

The current maintainer, being a lazy sort, finds it very useful to define a pair of aliases: tt for ``unzip -tq'' and ii for ``unzip -Z'' (or ``zipinfo''). One may then simply type ``tt zipfile'' to test an archive, something that is worth making a habit of doing. With luck unzip will report ``No errors detected in compressed data of zipfile.zip,'' after which one may breathe a sigh of relief.

The maintainer also finds it useful to set the UNZIP environment variable to ``-aL'' and is tempted to add ``-C'' as well. His ZIPINFO variable is set to ``-z''.  

DIAGNOSTICS

The exit status (or error level) approximates the exit codes defined by PKWARE and takes on the following values, except under VMS:

0
normal; no errors or warnings detected.
1
one or more warning errors were encountered, but processing completed successfully anyway. This includes zipfiles where one or more files was skipped due to unsupported compression method or encryption with an unknown password.
2
a generic error in the zipfile format was detected. Processing may have completed successfully anyway; some broken zipfiles created by other archivers have simple work-arounds.
3
a severe error in the zipfile format was detected. Processing probably failed immediately.
4
unzip was unable to allocate memory for one or more buffers during program initialization.
5
unzip was unable to allocate memory or unable to obtain a tty to read the decryption password(s).
6
unzip was unable to allocate memory during decompression to disk.
7
unzip was unable to allocate memory during in-memory decompression.
8
[currently not used]
9
the specified zipfiles were not found.
10
invalid options were specified on the command line.
11
no matching files were found.
50
the disk is (or was) full during extraction.
51
the end of the ZIP archive was encountered prematurely.
80
the user aborted unzip prematurely with control-C (or similar)
81
testing or extraction of one or more files failed due to unsupported compression methods or unsupported decryption.
82
no files were found due to bad decryption password(s). (If even one file is successfully processed, however, the exit status is 1.)

VMS interprets standard Unix (or PC) return values as other, scarier-looking things, so unzip instead maps them into VMS-style status codes. The current mapping is as follows: 1 (success) for normal exit, 0x7fff0001 for warning errors, and (0x7fff000? + 16*normal_unzip_exit_status) for all other errors, where the `?' is 2 (error) for unzip values 2, 9-11 and 80-82, and 4 (fatal error) for the remaining ones (3-8, 50, 51). In addition, there is a compilation option to expand upon this behavior: defining RETURN_CODES results in a human-readable explanation of what the error status means.  

BUGS

Multi-part archives are not yet supported, except in conjunction with zip. (All parts must be concatenated together in order, and then ``zip -F'' must be performed on the concatenated archive in order to ``fix'' it.) This will definitely be corrected in the next major release.

Archives read from standard input are not yet supported, except with funzip (and then only the first member of the archive can be extracted).

Archives encrypted with 8-bit passwords (e.g., passwords with accented European characters) may not be portable across systems and/or other archivers. See the discussion in DECRYPTION above.

unzip's -M (``more'') option tries to take into account automatic wrapping of long lines. However, the code may fail to detect the correct wrapping locations. First, TAB characters (and similar control sequences) are not taken into account, they are handled as ordinary printable characters. Second, depending on the actual system / OS port, unzip may not detect the true screen geometry but rather rely on "commonly used" default dimensions. The correct handling of tabs would require the implementation of a query for the actual tabulator setup on the output console.

Dates, times and permissions of stored directories are not restored except under Unix. (On Windows NT and successors, timestamps are now restored.)

[MS-DOS] When extracting or testing files from an archive on a defective floppy diskette, if the ``Fail'' option is chosen from DOS's ``Abort, Retry, Fail?'' message, older versions of unzip may hang the system, requiring a reboot. This problem appears to be fixed, but control-C (or control-Break) can still be used to terminate unzip.

Under DEC Ultrix, unzip would sometimes fail on long zipfiles (bad CRC, not always reproducible). This was apparently due either to a hardware bug (cache memory) or an operating system bug (improper handling of page faults?). Since Ultrix has been abandoned in favor of Digital Unix (OSF/1), this may not be an issue anymore.

[Unix] Unix special files such as FIFO buffers (named pipes), block devices and character devices are not restored even if they are somehow represented in the zipfile, nor are hard-linked files relinked. Basically the only file types restored by unzip are regular files, directories and symbolic (soft) links.

[OS/2] Extended attributes for existing directories are only updated if the -o (``overwrite all'') option is given. This is a limitation of the operating system; because directories only have a creation time associated with them, unzip has no way to determine whether the stored attributes are newer or older than those on disk. In practice this may mean a two-pass approach is required: first unpack the archive normally (with or without freshening/updating existing files), then overwrite just the directory entries (e.g., ``unzip -o foo */'').

[VMS] When extracting to another directory, only the [.foo] syntax is accepted for the -d option; the simple Unix foo syntax is silently ignored (as is the less common VMS foo.dir syntax).

[VMS] When the file being extracted already exists, unzip's query only allows skipping, overwriting or renaming; there should additionally be a choice for creating a new version of the file. In fact, the ``overwrite'' choice does create a new version; the old version is not overwritten or deleted.  

SEE ALSO

funzip(1L), zip(1L), zipcloak(1L), zipgrep(1L), zipinfo(1L), zipnote(1L), zipsplit(1L)  

責任編輯:韓亞珊 來源: 互聯網
相關推薦

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-16 10:21:13

setconsole中文man

2011-08-24 17:06:42

NOTIFY中文man

2011-08-16 09:32:01

quotaoff中文man

2011-08-23 18:05:21

ABORT中文man

2011-08-25 18:14:26

tcflow中文man

2011-08-25 16:55:26

gets中文man

2011-08-12 11:07:19

git中文man

2011-08-25 17:30:26

setbuf中文man

2011-08-15 13:14:44

rmdir中文man

2011-08-24 17:00:04

netdevice中文man

2011-11-01 13:46:50

中文mantac

2011-08-15 09:55:01

ls中文man

2011-08-24 16:20:09

load中文man

2011-08-25 15:47:06

fopen中文man

2011-08-25 16:25:30

fputs中文man

2011-08-25 10:49:28

rpc中文man
點贊
收藏

51CTO技術棧公眾號

在线激情小视频| 久久久久99精品成人片我成大片| 国产在线一区不卡| 亚洲大片免费看| 久久综合九色99| 亚洲一区二区人妻| 亚洲高清在线| 最近2019中文字幕mv免费看| 亚洲成年人av| 欧美影视资讯| 亚洲午夜免费电影| 五月天久久综合网| 欧洲成人一区二区三区| 蜜桃av一区二区| 久久久在线免费观看| 免费一级黄色录像| 成人搞黄视频| 欧美日韩高清一区二区不卡| 337p亚洲精品色噜噜狠狠p| 亚洲 欧美 激情 小说 另类| 麻豆成人在线观看| 欧美专区第一页| 黑人巨大精品一区二区在线| 国产一区二区三区91| 精品蜜桃在线看| 天堂av8在线| 欧美xx视频| 亚洲亚洲精品在线观看| 日本一区视频在线播放| 日本久久一级片| 韩国av一区二区三区四区| 日本久久久久亚洲中字幕| 黄色小说在线观看视频| 一区二区蜜桃| 最新日韩中文字幕| 国产免费无遮挡吸奶头视频| 超碰一区二区三区| 日韩免费性生活视频播放| 国产美女18xxxx免费视频| 黑人巨大亚洲一区二区久| 亚洲地区一二三色| 五月天激情图片| 黄色网页在线播放| 国产精品网曝门| 日本在线免费观看一区| 蝌蚪视频在线播放| 久久众筹精品私拍模特| 国产伦精品一区二区三区在线| 97超碰人人草| 久久精品99国产精品| 国产精品黄页免费高清在线观看| 综合激情网五月| 亚洲乱亚洲高清| 欧美激情视频网站| 九九热国产在线| 狠狠爱www人成狠狠爱综合网| 久久精品国产亚洲一区二区| 欧美xxxooo| 日韩系列欧美系列| www国产亚洲精品久久网站| 成年人网站免费看| 欧美禁忌电影| 在线中文字幕日韩| 91免费在线看片| 欧美3p在线观看| 波霸ol色综合久久| 免费在线观看一级片| 欧美日韩国产精品一区二区亚洲| 久久99青青精品免费观看| 国产女人被狂躁到高潮小说| 欧美日韩成人| 欧美一区亚洲一区| 人人妻人人爽人人澡人人精品| 丝袜诱惑亚洲看片| 国产美女精品免费电影| 国产精品高潮呻吟AV无码| 国产一区二区在线免费观看| 高清av免费一区中文字幕| 亚洲妇女屁股眼交7| 欧美日韩免费观看一区三区| 欧美成人福利在线观看| 日韩大陆av| 日韩一区二区三区视频在线| 日本一本在线视频| 国产精品视屏| 一区二区在线视频播放| 亚洲国产成人精品综合99| 亚洲美女色禁图| 国产成人在线一区| 国产免费一区二区三区免费视频| 成人精品免费视频| 日韩国产欧美一区| caopo在线| 欧美日韩亚洲精品内裤| 成 人 黄 色 小说网站 s色| 久久精品色综合| 中文字幕日韩有码| 国产精品99精品无码视| 日韩av一二三| 成人av片网址| 一级毛片视频在线观看| 性感美女久久精品| 久久久久久久久久久久久久久国产 | 一级黄色片视频| bt7086福利一区国产| 亚洲在线播放电影| 手机在线观看av网站| 欧美久久久久久久久| 欧产日产国产精品98| 色呦哟—国产精品| 久久欧美在线电影| 青青国产在线视频| 国产91精品免费| 欧美日韩高清免费| av免费在线免费观看| 在线日韩一区二区| 男女视频在线观看网站| 综合色就爱涩涩涩综合婷婷| 日韩中文综合网| 日本一区二区三区四区五区| 男人的j进女人的j一区| 91精品国产综合久久男男| 日本1级在线| 亚洲男人的天堂av| 日av中文字幕| 在线观看视频一区二区三区| 国产一区二区三区视频| 精品少妇久久久久久888优播| 精品中文字幕一区二区小辣椒| 国产麻豆日韩| dy888亚洲精品一区二区三区| 欧美性生交xxxxxdddd| 日本久久久久久久久久久久| 久久动漫网址| 欧美国产日本在线| 国产在成人精品线拍偷自揄拍| 26uuu色噜噜精品一区二区| 青青在线视频免费观看| 成人97精品毛片免费看| 亚洲色图欧美制服丝袜另类第一页| 久草免费在线观看视频| 精品中文字幕一区二区小辣椒 | 日韩精品导航| 欧美黑人极品猛少妇色xxxxx| 在线观看xxxx| 国产亚洲一本大道中文在线| www.国产在线播放| 亚洲国产一区二区三区网站| 欧美xxxx综合视频| 国产精品高潮呻吟久久久| 国产精品美女久久久久久久久久久| 成人在线免费在线观看| 国产精品自在线拍| 色与欲影视天天看综合网| 亚洲国产精品久久人人爱潘金莲| 国产精品高清亚洲| 免费一级特黄录像| 欧美伦理在线视频| 国产成人精品久久二区二区91| 五月婷婷久久久| 欧美日韩免费观看中文| 91九色蝌蚪porny| 亚洲国产一区二区在线观看| 92国产精品久久久久首页| 在线视频91p| 欧美亚洲动漫另类| 妖精视频在线观看免费| 蜜臀国产一区二区三区在线播放| 一区二区三区四区久久| 日韩色性视频| 久久精品在线视频| 国产孕妇孕交大片孕| 亚洲精品乱码久久久久久日本蜜臀| 亚洲成熟丰满熟妇高潮xxxxx| 精品国产乱码久久久久久1区2匹| 国产精品扒开腿做| 91青青在线视频| 欧美日韩高清一区| 中文字幕在线观看成人 | 亚洲无人区码一码二码三码| 中文字幕日韩欧美精品高清在线| 91免费看片在线| 午夜在线激情影院| 亚洲精品在线电影| 无码人妻久久一区二区三区不卡| 欧美国产一区二区| 欧美特黄aaa| 一区二区亚洲精品| 欧美日韩精品久久| 日韩成人精品一区二区三区| 欧美激情亚洲综合一区| 亚洲欧美综合一区二区| 欧美系列亚洲系列| 欧美黄片一区二区三区| 91麻豆成人久久精品二区三区| 精品久久久久久久无码| 日韩大片在线| 国产女人水真多18毛片18精品 | 男生女生差差差的视频在线观看| 欧美性视频一区二区三区| 免费看特级毛片| av高清不卡在线| 欧美自拍小视频| 在线看片一区| 亚洲 国产 日韩 综合一区| gogo大尺度成人免费视频| 久久久久久久久爱| 国产在线观看网站| 亚洲大胆人体在线| 中文字幕视频免费观看| 亚洲在线视频一区| 在哪里可以看毛片| 国产在线看一区| 99热手机在线| 国产一区观看| 午夜欧美性电影| 国产精品nxnn| 成人精品视频99在线观看免费| 欧美成人ⅴideosxxxxx| 欧美成人免费在线视频| 国产福利免费在线观看| 精品久久一区二区三区| 最近中文字幕在线观看| 亚洲综合激情网| 日本高清一二三区| 久久精品人人做人人综合| 人妻 日韩 欧美 综合 制服| 久久99在线观看| 欧美 日韩精品| 国内精品久久久久久久影视麻豆 | 欧美电影免费| 蜜桃视频日韩| 欧美a一欧美| 亚洲自拍偷拍网址| 欧美成人app| 欧美亚洲另类视频| 国产丝袜在线观看视频| 欧美日韩国产二区| 精品麻豆一区二区三区| 一本色道久久88精品综合| 你懂的在线观看视频网站| 精品卡一卡二卡三卡四在线| 亚洲女人18毛片水真多| 3atv一区二区三区| 中文字幕人妻一区二区在线视频 | 粉嫩91精品久久久久久久99蜜桃| 97在线视频免费播放| dj大片免费在线观看| 九九久久久久99精品| 黄色片网站在线| 日韩在线欧美在线国产在线| 国产三级在线观看| 亚洲人成啪啪网站| youjizz在线播放| 亚洲欧美国产精品久久久久久久| 天堂中文在线资源| 亚洲第一视频网站| 欧美一区二区三区激情| 亚洲乱码av中文一区二区| 天天射天天操天天干| 精品粉嫩aⅴ一区二区三区四区| 国产不卡精品视频| 91精品国产乱码久久蜜臀| xxxx18国产| 欧美v日韩v国产v| 秋霞视频一区二区| 亚洲第一视频网| 天堂av在线播放| 在线看欧美日韩| 老司机av在线免费看| 国产亚洲成精品久久| 国产露出视频在线观看| 久久人体大胆视频| 中国av在线播放| 久久久久久久久久久免费 | 人妻一区二区三区免费| 亚洲国产97在线精品一区| 天堂成人在线视频| 中文综合在线观看| 国产视频中文字幕在线观看| 久久不射热爱视频精品| 国产极品人妖在线观看| 欧美精品中文字幕一区| 亚洲国产福利| 国产日韩欧美成人| 一区二区在线视频观看| 精品国产一区二区三区日日嗨| 你懂的一区二区三区| 亚洲欧美日产图| 欧美人成网站| 六月丁香婷婷在线| 久久精品国产成人一区二区三区| 涩视频在线观看| 久久久久久久久97黄色工厂| 日本不卡一区视频| 亚洲国产裸拍裸体视频在线观看乱了| 亚洲天堂日韩av| 欧美三区在线视频| 人妻精品一区一区三区蜜桃91 | 8888四色奇米在线观看| 久久婷婷国产麻豆91天堂| 国产美女一区视频| 国产日韩欧美自拍| 国内精品偷拍| 视频一区视频二区视频| 欧美日韩三级| 免费看毛片的网址| 精品一区二区日韩| 精品人妻伦一二三区久| 中文字幕精品在线不卡| 欧美精品乱码视频一二专区| 欧美性大战久久久久久久蜜臀| 99精品视频免费看| 亚洲免费视频一区二区| 成人黄色网址| 国产精品九九久久久久久久| 日韩中文字幕在线一区| 日韩精品一区二区三区色偷偷| 欧美全黄视频| 国产精品欧美激情在线观看| 国v精品久久久网| 少妇视频在线播放| 精品免费在线观看| 国产美女永久免费| 自拍偷拍亚洲在线| 神马久久午夜| 99久久综合狠狠综合久久止 | 日韩av在线网| 在线h片观看| 国产精品久久激情| 欧美freesex8一10精品| 国产欧美久久久久| 美国av一区二区| 一级黄色性视频| 色av成人天堂桃色av| 丁香花免费高清完整在线播放| 久久久av亚洲男天堂| 国产理论在线| 国产一区二区三区高清| 欧美影院一区| 亚洲一区精品视频在线观看| 99国产精品久久久久久久久久| 日本熟女一区二区| 日韩欧美第一区| 欧美18hd| 国产精品自拍网| 小小影院久久| av在线免费看片| 中文字幕一区二区三区av| 中文字幕国产在线观看| 亚洲午夜久久久久久久| 中文字幕在线视频网站| 久久艹中文字幕| 99精品国产在热久久| 亚洲av无码一区二区二三区| 香港成人在线视频| 亚洲不卡免费视频| 欧美人在线观看| 久久99国产精品久久99大师| 亚洲色欲久久久综合网东京热| 国产精品一区二区在线观看网站 | 96精品视频在线| 日韩高清影视在线观看| 看欧美ab黄色大片视频免费| 国产欧美一区二区精品性色超碰| 天天操天天操天天操天天| 亚洲精品久久久久国产| 草草在线视频| 精品国产乱码久久久久久蜜柚| 国产亚洲一区在线| 北岛玲一区二区| 欧美性感一类影片在线播放| av在线三区| 成人亚洲激情网| 国产精品国码视频| 久久久视频6r| 欧美日韩精品一区二区三区四区 | 久久不射电影网| 99精品国产一区二区三区2021 | 6080yy午夜一二三区久久| 高清免费电影在线观看| 成人综合电影| 久久高清免费观看| 极品尤物一区二区| 欧美亚洲动漫另类| 最新国产在线拍揄自揄视频| 豆国产97在线| 久久亚洲电影| 永久久久久久久| 日韩精品免费视频| 福利一区二区三区视频在线观看| 日韩久久精品一区二区三区| 国产高清在线观看免费不卡| 日韩欧美三级视频| 一区二区成人精品| 成人台湾亚洲精品一区二区 | 最新97超碰在线| 国产欧美一区二区三区另类精品| 欧美亚洲在线| 污污的视频在线免费观看|