⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zip_cli.help

📁 给出了 zip 压缩算法的完整实现过程。
💻 HELP
📖 第 1 页 / 共 2 页
字号:
.!.!  File:       ZIP_CLI.HELP.!.!  Author:     Christian Spieler.!.!  Date:       05 Dec 95 (orig. ZIP.RNH, 22 Oct 91).!.!  Description:.!.!      TPU-processable source file to produce VMS on-line help for.!      portable Zip.  Adapted from ZIP.RNH, originally based on.!      ZIP.MAN (now MANUAL)..!.!      To build:.!          $ EDIT /TPU/NOSECTION/NODISPLAY/COMMAND=CVTHELP.TPU ZIP_CLI.HELP.!          $ RUNOFF /OUT=ZIP_CLI.HLP ZIP_CLI.RNH.!          $ LIBR /HELP/INSERT libr ZIP_CLI.!.!  Modification history:.!.!      01-001          Christian Spieler       05-DEC-1995 02:02.!              Genesis..!      01-002          Christian Spieler       20-JAN-1996 03:09.!              Modified /LICENSE and /VERBOSE descriptions..!      01-003          Christian Spieler       11-FEB-1996 23:09.!              Added /[NO]EXTRA_FIELDS description..!      01-004          Christian Spieler       11-MAR-1996 20:08.!              Removed /ENCRYPT=VERIFY option..!      01-005          Christian Spieler       11-MAY-1996 23:08.!              Corrected/enhanced info about how to get help on UNIX options..!      01-006          Christian Spieler       21-JUL-1997 22:26.!              Updated for new options of Zip 2.2..!      01-006          Christian Spieler       14-OCT-1997 22:04.!              Cleanups for Zip 2.2 release (no version change)..!<INIT><MAIN>ZIPZip is a compression and file packaging utility for Unix, MSDOS, OS/2, andVMS.  It is analogous to a combination of tar and compress and iscompatible with PKZIP (Phil Katz ZIP) for MSDOS systems.There is a companion to Zip called UnZip (of course).  Zip and UnZip canwork with files produced by PKZIP under MSDOS, and PKZIP and PKUNZIP canwork with files produced by Zip.Zip 2.2 is compatible with PKZIP 2.04.Note that PKUNZIP 1.10 cannot extract files produced by PKZIP 2.04or zip 2.2. You must use PKZIP 2.04g or unzip 5.0p1 (or later versions)to extract them.For a brief help on Zip and Unzip, run each without specifying anyparameters on the command line. If you want to get the help screendescribing the alternate UNIX style command interface, you mustspecify the -h option.Zip puts one or more compressed files into a single "zip file" along withinformation about the files, including the name, path if requested, dateand time last modified, protection, and check information to verify thefidelity of each entry.  Zip can pack an entire directory structure in azip file with a single command.  Compression ratios of 2:1 to 3:1 arecommon for text files.  Zip has has one compression method (deflation) andcan also store files without compression. It automatically chooses the betterof the two for each file to be compressed.Zip is useful for packaging a set of files to send to someone or fordistribution; for archiving or backing up files; and for saving disk spaceby temporarily compressing unused files or directories.<FORMAT>ZIP zipfile [file[,...]] [/qualifiers].!<TOPIC>Parameters<PARAMETER>zipfile<PTEXT>File specification for the ZIP archive. Zip will perform the requested actionfor every zipfile matching the specification.The default file specification is SYS$DISK:[].ZIP.Note that self-extracting ZIP files are supported; just specify the .EXEsuffix yourself.<TXETP><PARAMETER>file<PTEXT>An optional comma-separated list of files to be added or replaced in thezipfile. For unconditional add / replacement actions, a list must bespecified. For the freshening operation, all archive members are processedper default; the optional file list restricts processing to the specifiedarchive members.Expressions may be used to match multiple members.  For add/update operations,wildcard expressions are interpreted in  VMS wildcard syntax to matchexternal files. In contrast, for freshening/deletion operation, wildcardexpressions are interpreted in UNIX compatible syntax to match theinternal names of archive members in the zipfile.<TXETP><QUALIFIERS><QUALIFIER>/ADJUST_OFFSETS/ADJUST_OFFSETSAdjust internal offsets of the Zip archive members after some data(e.g. a SFX executable stub) has been prepended to the archive file.<QUALIFIER>/APPEND/APPENDTry to work with the existing Zip archive. This option is ignored whenany existing entry in the Zip archive gets updated or deleted.Without the /APPEND qualifier, Zip always creates a backup copy whenmodifying the archive. This is slower, but prevents corruption of theold archive in case of a fatal problem (power failures, program crash...).<QUALIFIER>/BATCH/BATCH[=listfile]Read list of files to add/update to the Zip archive from the listfile.The listfile defaults to SYS$INPUT.<QUALIFIER>/BEFORE/BEFORE=(VMS time specification)Only handle files that are older than the specified date and time.The specified time is compared with the files' RMS creation time.<QUALIFIER>/COMMENT/COMMENT[=KEYWORD[,KEYWORD]]Add comments to the Zip archive.<LITERAL>|  ZIP_FILE  Add/replace the multi-line archive comment. (default)|  FILES     Add file comment to each updated/added archive member.<LARETIL>The Zip program prompts for each comment to be added; this requires Zipto be run in interactive mode.The one-line archive member comments are terminated by typing RETURN.To skip a file comment, just type RETURN without entering any furthercharacters.The zip archive comment may be multi-line. The comment is ended by a linecontaining just a period, or by supplying a ^Z.<QUALIFIER>/DELETE/DELETEDelete entries from zip file.<QUALIFIER>/DIRNAMES/DIRNAMES (default)/NODIRNAMESStore directory entries in the archive.<QUALIFIER>/ENCRYPT/ENCRYPT[="password"]Encrypt added and updated archive entries.You may specify the password on the command line, although we do notrecommend it since THIS IS INSECURE. Remember to enclose the passwordstring with quotes, to prevent automatic conversion to upper case ormisinterpretation of punctuation characters by DCL.When the password was not specified, Zip prompts for it on SYS$COMMAND.For typing the password, terminal echo is suspended. For added usersecurity, the password prompt appears twice and the two user inputs arechecked for identity before using the password.<QUALIFIER>/EXCLUDE/EXCLUDE=(file[,...])A comma-separated list of files to exclude when deleting, updating oradding files in the archive.If multiple files are specified, the list should be included inparentheses.<QUALIFIER>/EXLIST/EXLIST=listfileThe files matching the filename patterns listed in "listfile" areexcluded when deleting, updating or adding files in the archive.The "listfile" is a normal text file with one filename pattern entry perline. The name pattern entries are recognized exactly as found in"listfile", including leading, embedding and trailing whitespace or mostcontrol characters (with exception of LineFeed and probably CarriageReturn).<QUALIFIER>/EXTRA_FIELDS/EXTRA_FIELDS (default)/NOEXTRA_FIELDSAllows inclusion of extra file attributes information in the zipfile'sentry headers.Examples are: the VMS attributes (enabled by the /VMS qualifier), oradditional GMT time stamps. These GMT time stamps are quite useful whentransporting a Zip archive world wide, but they are only recognizedby Info-ZIP's UnZip version 5.20 and later, and take up some additionalspace.When /EXTRA_FIELDS is negated, the /VMS qualifier to request saving of theVMS RMS file attributes is ignored, too!<QUALIFIER>/FRESHEN/FRESHENFreshen existing zipfile entries; replace if newer.  Does not cause any newfiles to be added to the archive.<QUALIFIER>/FULL_PATH/FULL_PATH  (default)/NOFULL_PATHDirects Zip to store the directory part of the file names (relative tothe current working directory) in the Zip archive.<QUALIFIER>/HELP/HELPDisplay Zip's help screen, including the version message.<QUALIFIER>/INCLUDE/INCLUDE=(file[,...])A comma-separated list of files to include when deleting, updating oradding files in the archive.If multiple files are specified, the list should be included inparentheses.<QUALIFIER>/INLIST/INLIST=listfileThe files matching the filename patterns listed in "listfile" areincluded when deleting, updating or adding files in the archive.The "listfile" is a normal text file with one filename pattern entry perline. The name pattern entries are recognized exactly as found in"listfile", including leading, embedding and trailing whitespace or mostcontrol characters (with exception of LineFeed and probably CarriageReturn).<QUALIFIER>/JUNK/JUNK/NOJUNK (default)Junk the directory part of the file names for added entries (do notnot save the directory structure). The /JUNK qualifier is an alias for/NOFULL_PATH.<QUALIFIER>/KEEP_VERSION/KEEP_VERSION/NOKEEP_VERSION (default)Directs Zip to include the version number appendix in the stored file names.This allows to store multiple version of the same file in a single Ziparchive.The normal behaviour of Zip without /KEEP_VERSION is to use only the mostrecent version of a specified file and strip of the version number fromthe stored file name. This behaviour ensures better compatibility whentransfering a Zip archive to non VMS systems.<QUALIFIER>/LATEST/LATESTThe archive's creation and modification time is set to the latestmodification time of all archive members.<QUALIFIER>/LEVEL/LEVEL=numberSpecifies the compression level:<LITERAL>|  0      Store|  1      Fastest compression (Defl:F)|  ...|  9      Best compression    (Defl:X)<LARETIL>The default level is 6.<QUALIFIER>/LICENSE/LICENSEDisplays the Zip license.<QUALIFIER>/MOVE

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -