Command Line Users Manual
Command Line
Users Manual
PKZIP? Command Line SecureZIP? Command Line
Copyright ? 1997-2010 PKWARE, Inc. All Rights Reserved.
No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any other language in whole or in part, in any form or by any means, whether it be electronic, mechanical, magnetic, optical, manual or otherwise, without prior written consent of PKWARE, Inc.
PKWARE, INC., DISCLAIMS ALL WARRANTIES AS TO THIS SOFTWARE, WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, FUNCTIONALITY, DATA INTEGRITY, OR PROTECTION. PKWARE IS NOT LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES.
PKWARE, the PKWARE logo, the zipper logo, PKZIP, PKUNZIP, PKSFX, and SecureZIP are registered trademarks of PKWARE, Inc.
Trademarks of other companies mentioned in this documentation appear for identification purposes only and are the property of their respective companies.
2010-04-28
iii
Table of Contents
1 WELCOME....................................................................................................1
Introduction................................................................................................................. 1 About This Manual ..................................................................................................... 1 Your Work Environment: The Command Line......................................................... 2 Entering Commands .................................................................................................. 2 Setting PKZIP in the Path .......................................................................................... 3 Strong Encryption ...................................................................................................... 4 Digital Signatures ....................................................................................................... 4 Special Compatibility Options (Win32) .................................................................... 5 Using Help ................................................................................................................... 6 Getting License Information...................................................................................... 6 Getting Version Information ...................................................................................... 7 Technical Support ...................................................................................................... 8
2 THE BASICS.................................................................................................9
An Overview of What PKZIP Does ............................................................................ 9 Supported Archive Types ........................................................................................ 10 Entering Commands: Syntax .................................................................................. 11 Adding Files to an Archive ...................................................................................... 12
Archive File Naming Conventions........................................................................... 13 Adding a Single File ................................................................................................ 14 Adding Multiple Files ............................................................................................... 14 Moving Files into an Archive ................................................................................... 16 Viewing Files in an Archive ..................................................................................... 16 Extracting Files from an Archive ............................................................................ 17 Extracting All Files .................................................................................................. 17 Extracting Some Files ............................................................................................. 17 Extracting Files to a Different Directory .................................................................. 17 Extracting New and Newer Files............................................................................. 18 Using Filters When Selecting Files......................................................................... 18
iv
Selecting Files by Date ........................................................................................... 18 Selecting Files by Age ............................................................................................ 19 Selecting Files by Size............................................................................................ 19 Selecting Files to Include or Exclude ...................................................................... 20
Understanding Commands and Options ............................................................... 21 Difference between a Command and Option.......................................................... 21 Including an Option in Your Command Line ........................................................... 22 Abbreviating Commands and Options .................................................................... 22 Using Multiple Options ............................................................................................ 22 Commands and Options That Have Values ........................................................... 23
Conventions in This Guide ...................................................................................... 23
3 ADDING FILES TO AN ARCHIVE .............................................................. 25
Default Values for Commands and Options .......................................................... 25
Creating and Updating Archives............................................................................. 25 Adding All Files in a Directory ................................................................................. 25 Adding New and Modified Files .............................................................................. 26 Adding Only Files That Have Changed .................................................................. 26 Clearing Archive Attributes ..................................................................................... 27 Incremental Archiving ............................................................................................. 27
Writing an Archive to STDOUT and Special Files ................................................. 28 Writing an Archive to STDOUT ............................................................................... 28 Writing an Archive to a Named Pipe....................................................................... 29
Encrypting Files That You Add to an Archive ....................................................... 30 Encrypting Files with a Passphrase ........................................................................ 31 Encrypting Files with a Recipient List (SecureZIP only) ......................................... 33 Encrypting File Names............................................................................................ 35 Encrypting Using Only FIPS-Approved Algorithms ................................................ 37 Accessing Recipients in an LDAP Directory ........................................................... 39 Contingency Keys ................................................................................................... 41
Working with Digital Signatures (SecureZIP only)................................................ 42
Compressing Files in Subdirectories ..................................................................... 47
Compressing Open Files ......................................................................................... 47
Storing Directory Path Information ........................................................................ 48 Additional Methods for Storing Directory Path Information..................................... 48 Storing and Recreating Directory Path Information ................................................ 49
Setting the Compression Level............................................................................... 51 Specifying a Compression Level from 0-9 .............................................................. 51 Specifying a Compression Level by Name ............................................................. 52
Compressing Files with a List File ......................................................................... 53 Getting a List of Files from Standard Input ............................................................. 54
Compressing Files with the Deflate64 Method...................................................... 54
v
Compressing Files with the BZIP2 Method............................................................ 55
Compressing Files with the LZMA Method............................................................ 55
Compressing Files Compatible with the Data Compression Library.................. 56
Compressing Files with the PPMd Method............................................................ 56
Compressing Files to a Specified Type of Archive............................................... 56
Compressing Files to Diskette ................................................................................ 57 Creating a Spanned Archive ................................................................................... 57 Creating a Split Archive .......................................................................................... 58
Preserving International Characters in File Names .............................................. 59
Creating Multiple, Respective Archives ................................................................. 59
Storing File Information ........................................................................................... 60 Compressing Files with Specified Attributes........................................................... 60 Extended Attribute Storage..................................................................................... 62
Including Additional Information in a ZIP File ....................................................... 63 Including a Text Comment ...................................................................................... 63 Including a Header Comment ................................................................................. 64 Specifying the Date of a .ZIP File ........................................................................... 64
Removing File Attributes ......................................................................................... 65
Sorting Files Within a .ZIP File ................................................................................ 66
Moving Files to a .ZIP File........................................................................................ 67
Shredding Deleted Files........................................................................................... 68
Working with Self-Extracting (PKSFX) Archives................................................... 69 Converting a Standard Archive to a Self-Extractor ................................................. 70 Converting to a Self-Extractor with a Different Name............................................. 70 Options for Creating Self-Extractors ....................................................................... 70 Run Programs with the Self-Extractor .................................................................... 72 Extraction Options for the Native Self-Extractor ..................................................... 73
4 EXTRACTING FILES ..................................................................................74
Default Values for Commands and Options .......................................................... 74
Extracting New and Existing Files .......................................................................... 74 Extracting All Files from an Archive ........................................................................ 75 Extracting Newer Versions of Existing Files and New Files ................................... 75 Extracting Only Newer Versions of Files ................................................................ 75
Extracting from an Archive Embedded in An Archive.......................................... 76
Extracting an Archive on STDIN or a Special File................................................. 76
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- installing geant4 v9 5 for windows
- nc compiler instruction manual
- installing grads v2 0 on microsoft windows
- xilinx design tools installation and
- install neuron on windows
- allegro platform system requirements
- command line users manual
- gpg installation guide for windows ibiblio
- ise sirf virtual machine for windows 10
Related searches
- command line to reset password
- powershell command line switches
- powershell run command line exe
- run command line from powershell
- command line pdf
- windows command line tutorial pdf
- windows 10 command line reference
- powershell command line switch parameter
- linux command line pdf
- command line reference online help
- command line reference windows 10
- command line prompts