How to unzip pkzip file in aix
Today's Posts. Quick Links. Search Forums. Show Threads. Show Posts. Registered User. Join Date: Jan Z unzip will decompress. Shell Programming and Scripting. Unzip the. ZIP file or extracted into a destination directory. For example, if you wish to extract files in a specified sort order by date , you would type the following and press ENTER:.
In this example, all files that exist in the test. For more information on sort options, see the Command Reference page. PKZIP gives you the option of displaying specific files contained in a. ZIP file to your computer monitor. In this example, all files with a. Since many. ZIP files contain an information document such as readme. ZIP file without requiring you to extract a file or file s to your hard drive. Note: You can also use the console and silent options to redirect files to pipe files directly to another program.
You can use a list file to specify files to extract from an archive. In the list file, specify file and path name information to identify the target files. For example, entries like the four below are permitted:. How you identify files in an archive depends on the path information that was archived with them. In an archive, path information is treated as part of a file name for purposes of identification.
For example, it would get these files:. Do not use drive letters in a list file used to extract. Drive letters are not saved with other path information in an archive and are not allowed in extraction list file entries. To specify a list file to use to extract, prefix the pathname of the list file with the character on the command line after the name of the archive. For example, the following line extracts using list file mylist.
See the listfile option for information on using this option to create a list file. See the view option for information on viewing path information saved in an archive. Default Values for Commands and Options Commands and options that have sub-options generally have a default value. Extracting New and Existing Files You don't have to extract all the files included in a.
PKZIP provides several ways to choose which files to extract. Extracting Passphrase-Protected Files To extract files from a passphrase-protected archive, use the extract command with the passphrase option. For example: pkzipc -extract -passphrase test. Note: Passphrases are case sensitive. If you do not specify the passphrase option when extracting an archive that contains passphrase-protected files, PKZIP prompts you as if you had included the passphrase command.
Type the passphrase preceded by an equal sign as part of your command. Message Explanation What to do? Signature is invalid The file or archive has changed since it was signed. The archive may be corrupt. If a file has an invalid signature, then the file may have been modified. Certificate is not trusted The certificate used to sign is currently not to be trusted.
Certificate is expired The certificate has expired perhaps because the archive was signed a long time ago. Contact the owner of the certificate. Certificate is revoked Indicates the issuer has revoked the certificate.
Contact the issuer or owner of the certificate. Certificate not found: XXX The certificate for the signature could not be found on your system. Check to see if the certificate name was misspelled.
Confirm that the certificate is on the system. This sub-option is for use only when the ldap option is used. The file or archive has changed since it was signed. The certificate has expired perhaps because the archive was signed a long time ago.
The certificate for the signature could not be found on your system. To extract only a selection of files, additionally specify the files to extract. For example, the following command line extracts all. How you identify files in an archive depends on the path information that was archived with them. In an archive, path information is treated as part of a file name for purposes of identification. Use the view command to see any path information saved with files. For example, if you want to extract file august.
By default, files are extracted to the current directory. To extract files to a different location, specify a path. For example, the following command line uses the two-dots.. A destination pathname can occur in the command line anywhere after to the right of the name of the archive. For example, the following command line extracts all files in data. A folder name can appear before or after names of files to be extracted.
Both of the following command lines extract report. PKZIP evaluates file or folder possibilities in the order they appear, from left to right, after the name of the archive.
The first one found that is the name of a folder determines the destination folder. By default, the extract command extracts all files if you do not specify particular files. You can also configure the extract command to extract only files that are newer versions of files already in the target directory, or only files that are newer versions or do not already exist in the directory.
For example, the following command line uses the update sub-option of the extract command to tell PKZIP to extract only files that are newer versions or do not already exist in the directory:. Sub-options are explained in the section " Commands and Options with Values ," later in this chapter.
You can use various criteria to identify a specified set of files to add or extract, so that you only select the subset of files that meets the filter criterion. For example, the command line below specifies all text files to add, but uses the filter option after to add a constraint; namely, that a file must also have been modified after the specified date mmddyyyy.
As a result, only those text files that meet the additional requirement imposed by the after option are added. All the filter options described in this section work with both add and extract commands. The before option selects files that were modified before a specified date. The after option selects files that were modified on or after a specified date.
The older and newer options select files that are older or newer than a specified age. You can list the age in days the default , hours, minutes, or seconds using the abbreviations shown in the following table. With a time unit of days, the interval for example, five days is measured from the beginning of the current day. So, for example, if it is currently p. June The older option gets files dated earlier than this; the newer option gets files dated on or after this.
With time units of hours, minutes, or seconds, the interval is measured from the current system time. So, for example, the following command line selects files modified within the last 48 hours:. The larger and smaller options select files that are larger than or equal to, or smaller than or equal to, a size specified in bytes. You can also use k , m , g , or t to specify kilobytes bytes , megabytes Kb , gigabytes Mb , and terabytes Gb , respectively.
The following command line adds files whose size is in the range megabytes to 1 gigabyte, inclusive:. To include one or more file patterns automatically when selecting files, you can configure a default value for include.
For example, if you want to automatically include all files with the extension of. This configured default causes a command line like the following to zip all.
You can also use include to override a default setting of the exclude option. If you do not need to override a default configuration setting, you do not need to specify the include option in your command: the file pattern by itself is enough. For more information on modifying default configuration values, see " Changing Defaults for Commands and Options.
To exclude one or more file patterns automatically when selecting files, you can configure a default value for exclude. For example, if you want to automatically exclude all files with the extension of. The command line below has the same effect but abbreviates the configuration option:. The configured default value for exclude causes a command line like the following to zip all files except. To exclude a list of files, specify the list file as the value of the exclude option:.
You can also use exclude to override a default setting of the include option. We'll send a magic link to your inbox. Email Address. All Sign in options. Enter a Email Address. Choose your interests Get the latest news, expert insights and market research, sent straight to your inbox. Newsletter Topics Select minimum 1 topic. Operating Systems. The error is: unzip c93lsml. Can anyone tell me how I can extract this.
Romeo Ninov Posted June 28, 0 Comments. First try to understand it this file is really zip file: file c93lsml. Try gunzip instead of unzip. Ya Dear, it is zip file only file chml.
Romeo Ninov Posted June 29, 0 Comments. Lamar Saxon Posted June 29, 0 Comments. Looking the errors a couple of things come to mind… 1. The file is not complete thus the no EOF error. My first guess would be 1. Romeo Ninov Posted July 5, 0 Comments. Thanks, Pratap Bachu. Manas Mangal Posted July 6, 0 Comments. Try with uncompress command. Manmohan Sharma Posted July 31, 0 Comments. Do we need to install some package for that?
0コメント