how to compress .zlib file


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users how to compress .zlib file
# 1  
Old 05-03-2008
how to compress .zlib file

Hi all,

I wanted to know how to compress a .zlib file..
an working on unix
so pls suggest accordingly.
the file is pretty big(500 mb)
also i would like to know any weblinks where i can get more info on various compressions commands in unix
i have tried zip,compress commands
but i have not achieved the amout of compression i wanted to.
may i know how to counter this!!

Thanks
# 2  
Old 05-05-2008
If you can find a specific compressor for just that format, it's probably going to be more efficient than any general-purpose compression tool. In the meantime, try bzip2, it's often more efficient than the ones you tried.

See also Comparison of file archivers - Wikipedia, the free encyclopedia
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Compress every file

Dear Experts, I am new to this forum. Thank you for moderator to allow me to join. I have a question about automatic compression using sh and crontab on an application which runs on the Suse Linux Server 11 SP4. My question is how to compress every file in a directory into its own tar... (5 Replies)
Discussion started by: Steven_2975
5 Replies

2. UNIX for Advanced & Expert Users

Problem compiling glib using static zlib

Hello I have been trying to compile glib 2.28 with needs Zlib. During the compilation process I received these messages Then giving a look at the configure of Zlib, there was an option to static link it and I obviously used it. So I think I can solve it by compiling a shared zlib, or by... (4 Replies)
Discussion started by: colt
4 Replies

3. Shell Programming and Scripting

zlib.h in custom path

I am trying to configure gpac. I get the error as follows. # ./configure error: zlib not found on system or in local libs I have installed zlib on custom path /usr/local/myapps. I know the above error occurs when devel package or .h file is not present. Its present on the server. # ll... (7 Replies)
Discussion started by: anilcliff
7 Replies

4. BSD

Installing zlib

Is there a port or shorthand way of installing the zlib library on FreeBSD? I currently use the following: wget http://zlib.net/zlib-1.2.5.tar.gz tar zxf zlib*.gz cd zlib*\. ./configure --libdir=/usr/lib --includedir=/usr/include make install clean This is somewhat contrived code and for a... (4 Replies)
Discussion started by: figaro
4 Replies

5. UNIX for Dummies Questions & Answers

Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Hi All ! We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows. I have used the utility ZIP like the below. zip -e <newfilename> df2_test_extract.dat but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies

6. Shell Programming and Scripting

unix script to takes the old data from a TXT file and compress them into new file

Hi, I am looking for the unix script which can takes the 2 month old data from a TXT file (there is one txt file in whiche messages are appended on daily basis) and compress them into new file.Please halp me out. (2 Replies)
Discussion started by: vpandey
2 Replies

7. UNIX for Advanced & Expert Users

compress more than one file

hi, I need to compress a couple files in a directory.i tried using tar cvf filename1 filename2 but i am not able to open tar file. please suggest how to compress more than one file in to same file thanks in advance (2 Replies)
Discussion started by: prasee
2 Replies

8. Programming

problem about using zlib to uncompress gzip in memory

I wrote a function which for uncompressing data for gzip or deflate format using zlib,see followed code; source param is pointed to the compressed data,len param is the size of compressed data, dest param is for returning the address which pointed to the uncompressed data;the last gzip param tell... (0 Replies)
Discussion started by: iwishfine
0 Replies

9. Programming

uncompress of zlib

When I gzopen & gzread from a gzip file, it works OK. But I when I try to uncompress the same data from memory (either by reading to memory with fread or mmap()ing) using decompress, I get Z_DATA_ERROR. Is it because gzip file has some kind of headers that uncompress doesn't want? How can I get... (3 Replies)
Discussion started by: rayne
3 Replies

10. UNIX for Dummies Questions & Answers

[help] Cant compress file

Anybody know what happened here? 162 lab2-36:~/try_direct/another> compress url.txt url.txt: -- file unchanged (8 Replies)
Discussion started by: endeavour1985
8 Replies
Login or Register to Ask a Question