04-08-2011
Cannot. You can pipe out the product of unzipping, using "gunzip <file" for gzcat file1 file2 ...". There might even be a gunzip -o, but I never used it. The zip/gzip/gunzip functionality is also available in many language libraries, so you can pass a call either a string or file name to gzip or gunzip.
PS: zip is an archive program, different though sometimes using some of the same calls, so these are not being "unzipped", they are being "gunzip'd".
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am transferring a large .zip file (20 GB) from an NT server to HP-UX and Solaris servers. Originally I tried to use info-zip's unzip, but I found out pretty quickly that it does not support files over 4GB. Any suggestions on how to work around this problem? Different decompression utility?... (9 Replies)
Discussion started by: dangral
9 Replies
2. Shell Programming and Scripting
I have a UNIX box where in files are created every 5 minutes. I need to write a shell script which will take in the date as parameter and return me all files created on that day. Also I will like it to show me only files which have a size greater than 0 i.e. non-empty files. how do I go abt this? I... (6 Replies)
Discussion started by: krahuliyer
6 Replies
3. Shell Programming and Scripting
Hi,
I have an excel file generated by system in windows. I am zipping it, transfering to unix and unzipping there. But i'm getting below output while unzipping.
$ /usr/bin/unzip -a 123.zip -d .
Archive: 123.zip
inflating: ./123/Index.xls
When i copy this unzipped xls file to... (0 Replies)
Discussion started by: ajaykumarb
0 Replies
4. Shell Programming and Scripting
I wan to view files in a directory of a specific date. For example a log directory has log files . I want to view the list of the files which were generated on 01-May-2011.
Is there any option/proces to perform it?? (1 Reply)
Discussion started by: mady135
1 Replies
5. Solaris
In Linux for .rpm
we can list or view the files using the command
rpm -qpl <file.rpm>
and to extract, the command is
rpm2cpio <file.rpm> | cpio -idvh
I would like to know the commands which has same functionality as above for solaris ( .pkg)
Thanks in Advance (5 Replies)
Discussion started by: frintocf
5 Replies
6. Shell Programming and Scripting
HI ,
There are more than 100 zip files in a directory and i wanted to see if there is a max1157.txt file in any of the zip files without actually unzipping them. Could you please help. Thanks in Advance.
Karthik. (6 Replies)
Discussion started by: karthikk0508
6 Replies
7. Windows & DOS: Issues & Discussions
Hi,
I have a zip file created on a Linxux server that I need to extract on a Windows machine...
The zip file containing folders with the same name but they each have a different case, one if camel case and the other is just capitalised. When I extract using 7zip, I get prompted if I want to... (3 Replies)
Discussion started by: muay_tb
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a zipped file a.zip. This has got multiple folders in it say x and y. x contains a.txt and y contains a.txt. Is it possible to unzip this file and have the 2 files extracted and rename them to unique names.
Thanks in advance. (1 Reply)
Discussion started by: arunkesi
1 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have a .pcap.gz file and I would like to initially gzip it and then pass the resulting .pcap filename as an argument to a piped tool; the right-hand tool is not standardized linux tool but a custom one that strictly requires the string name of a given .pcap file in order for the pcap file... (2 Replies)
Discussion started by: amarn
2 Replies
10. Solaris
I'm trying to sync/transfer files from my UNIX box and Android Phone and vice versa.
I know that Android Phones show up seamlessly (mostly) in Linux given their incestuous relationship.
Is there a way to do it in UNIX or more specifically in Solaris 11.3 (i86)?:confused:
I haven't found one... (2 Replies)
Discussion started by: Nostradamus1973
2 Replies