LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2003, 01:22 PM   #1
frank symptoms
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Post unZipping a file


I'm trying to use the native Linux commands to unZip a zip file with 2 files in it. gunzip won't do it if more than one file is in the zipfile. Got any suggestions?
 
Old 08-29-2003, 02:15 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Confused...
Unless I am reading the question incorrectly, you are using the wrong command.

If you want to uncompress a ZIP file (.zip), use unzip
If you want to uncompress a GZip file (.gz), use gunzip
 
Old 08-29-2003, 03:15 PM   #3
SaTaN
Member
 
Registered: Aug 2003
Location: Suprisingly in Heaven
Posts: 223

Rep: Reputation: 33
If the extension of the file is .tgz then use
tar -xvzf <file_name>
else specify the extension of the file to be unzipped
 
1 members found this post helpful.
Old 09-01-2003, 09:37 AM   #4
frank symptoms
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
The problem is, using the utilities native to RH 7.3, unzip only works if there is exactly 1 file in the .zip file. I regularly receive 2 or more files in the zip.
I"m newly struggling with PKware's PKZIP for Linux (Command Line).
 
Old 09-01-2003, 12:29 PM   #5
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Rep: Reputation: 30
http://www.nomadlinux.com/linuxreadme.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unzipping a .zip file sduffy89 Linux - Software 3 08-25-2004 09:55 AM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 02:04 PM
problem in unzipping the tar file jyome Linux - Software 1 09-04-2003 09:56 AM
Problems unzipping a *.tar.gz file --permission denied? mfarley Linux - Newbie 3 07-22-2003 06:07 PM
unzipping: file size limit exceeded peeples Linux From Scratch 9 10-15-2002 08:17 AM


All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration