05-26-2008
Error while UNZIPPING
Hi,
I have file.zip in windows machine, i moved that .zip to unix throught ftp.
when i tried to unzip the .zip file getting the error. please see the below information for the same.
I am using the below command to UNZIP :
unzip /users/test/file.zip /users/test/test111
Below are the errror's:
Archive: /users/test/file.zip
caution: filename not matched: /users/test/test111
if i use gunzip or gzip also error is coming.
Could you please help out for exact unzip command.
Thanks for your time & help
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok, im a lame newb, i know, but what are all the options for the tar command, and how do i use it properly...? (3 Replies)
Discussion started by: FalconX2
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a zip file in a unix file system that contains approximately 1000000 files. I would like to unzip this file.
When I use unzip, the unzip command starts extracting the files , but after extracting 65535 files, I am getting the following error.
"note: didn't find... (1 Reply)
Discussion started by: narayanan0
1 Replies
3. Shell Programming and Scripting
Hi,
I have downloaded the oracle 9i software from oracle website.
The file is in the following format.
"lnx_920_disk1.cpio.gz"
I need to unzip this file for installing oracle9i in my system.
I tried with the following command to unzip the file
"$gunzip lnx_920_disk1.cpio.gz"
but i am... (2 Replies)
Discussion started by: ravi raj kumar
2 Replies
4. Linux
I am not able to unzip file greater then 2gb,
Any suggestions how to do that in linux?
Regards,
Manoj (5 Replies)
Discussion started by: manoj.solaris
5 Replies
5. UNIX for Dummies Questions & Answers
I have some 10 to 20 .ZIP files in a given UNIX Directory and how to extract all the files into a one output file and preferably a .GZ file.
Pls suggest. (2 Replies)
Discussion started by: aravindj80
2 Replies
6. Shell Programming and Scripting
I have my folder structure like a file a.zip is placed in one folder.
Inside a.zip is two other zip files x.zip and y.zip
If i unzip x.zip i have folder a folder z and inside folder z there are different folders with event time appended to it.
Inside the every event folder ,I have a sub folder... (1 Reply)
Discussion started by: weknowd
1 Replies
7. Solaris
Hello Unix gurus,
I have been studying to install packages in solaris 10 but I can't seem to move forward. I downloaded a test package online ( gdb-6.8-sol10-sparc-local.gz ) and ftp to my home in solaris 10. I gave this command
gunzip gdb-6.8-sol10-sparc-local.gz
and this is what i keep... (1 Reply)
Discussion started by: cjashu
1 Replies
8. Shell Programming and Scripting
Hi,
I have transfered a Zip file from Windows to Unix and tried to Unzip it in Unix using ksh. But it throws an error:
error : missing 24 bytes in zipfile
(attempting to process anyway)
error : attempt to seek before beginning of zipfile
(please check that you have transferred or... (2 Replies)
Discussion started by: angie1234
2 Replies
9. Shell Programming and Scripting
Hi ,
How can I unzip a .Z file in Unix?
Thanks and regards,
Anupam (3 Replies)
Discussion started by: Anupam_Halder
3 Replies
10. Shell Programming and Scripting
I am trying to unzip a file with name D_R_38957222_20111410.txt.gz using the below command.
gunzip D_R_38957222_20111410.txt.gz
However, I am getting the following error while using the gunzip command as below...
gunzip: D_R_38957222_20111410.txt.gz: invalid compressed data--crc error
... (24 Replies)
Discussion started by: dhruuv369
24 Replies
LEARN ABOUT REDHAT
funzip
FUNZIP(1L) FUNZIP(1L)
NAME
funzip - filter for extracting from a ZIP archive in a pipe
SYNOPSIS
funzip [-password] [input[.zip|.gz]]
ARGUMENTS
[-password]
Optional password to be used if ZIP archive is encrypted. Decryption may not be supported at some sites. See DESCRIPTION for more
details.
[input[.zip|.gz]]
Optional input archive file specification. See DESCRIPTION for details.
DESCRIPTION
funzip without a file argument acts as a filter; that is, it assumes that a ZIP archive (or a gzip'd(1) file) is being piped into standard
input, and it extracts the first member from the archive to stdout. When stdin comes from a tty device, funzip assumes that this cannot be
a stream of (binary) compressed data and shows a short help text, instead. If there is a file argument, then input is read from the speci-
fied file instead of from stdin.
A password for encrypted zip files can be specified on the command line (preceding the file name, if any) by prefixing the password with a
dash. Note that this constitutes a security risk on many systems; currently running processes are often visible via simple commands (e.g.,
ps(1) under Unix), and command-line histories can be read. If the first entry of the zip file is encrypted and no password is specified on
the command line, then the user is prompted for a password and the password is not echoed on the console.
Given the limitation on single-member extraction, funzip is most useful in conjunction with a secondary archiver program such as tar(1).
The following section includes an example illustrating this usage in the case of disk backups to tape.
EXAMPLES
To use funzip to extract the first member file of the archive test.zip and to pipe it into more(1):
funzip test.zip | more
To use funzip to test the first member file of test.zip (any errors will be reported on standard error):
funzip test.zip > /dev/null
To use zip and funzip in place of compress(1) and zcat(1) (or gzip(1L) and gzcat(1L)) for tape backups:
tar cf - . | zip -7 | dd of=/dev/nrst0 obs=8k
dd if=/dev/nrst0 ibs=8k | funzip | tar xf -
(where, for example, nrst0 is a SCSI tape drive).
BUGS
When piping an encrypted file into more and allowing funzip to prompt for password, the terminal may sometimes be reset to a non-echo mode.
This is apparently due to a race condition between the two programs; funzip changes the terminal mode to non-echo before more reads its
state, and more then ``restores'' the terminal to this mode before exiting. To recover, run funzip on the same file but redirect to
/dev/null rather than piping into more; after prompting again for the password, funzip will reset the terminal properly.
There is presently no way to extract any member but the first from a ZIP archive. This would be useful in the case where a ZIP archive is
included within another archive. In the case where the first member is a directory, funzip simply creates the directory and exits.
The functionality of funzip should be incorporated into unzip itself (future release).
SEE ALSO
gzip(1L), unzip(1L), unzipsfx(1L), zip(1L), zipcloak(1L), zipinfo(1L), zipnote(1L), zipsplit(1L)
URL
The Info-ZIP home page is currently at
http://www.info-zip.org/pub/infozip/
or
ftp://ftp.info-zip.org/pub/infozip/ .
AUTHOR
Mark Adler (Info-ZIP)
Info-ZIP 17 February 2002 (v3.94) FUNZIP(1L)