Sponsored Content
Full Discussion: API in C for compress (.Z) ?
Top Forums Programming API in C for compress (.Z) ? Post 302492640 by domiq44 on Tuesday 1st of February 2011 05:05:14 AM
Old 02-01-2011
API in C for compress (.Z) ?

Hi all,

I would like to know if an API for compress (.Z) exists in C ?

I want to write a program which process a large number of data files with efficient compression at the end.

Thanks
Image
 

9 More Discussions You Might Find Interesting

1. AIX

API question

Machine and OS : IBM 7044-170 AIX 4.3.3 Hi, everyone I have a question , pls help me to resolve. In IBM AIX , how to obtain the CPU Load and other infomations by System API Fuction. Wait for your reply ......., Thanks. (0 Replies)
Discussion started by: q30
0 Replies

2. UNIX for Dummies Questions & Answers

tyoes of API

What is Low-Level API and High-Level API? (1 Reply)
Discussion started by: sumsin
1 Replies

3. Programming

LDAP - is there an API

Hi, I've just been experimenting with AIX's ldapsearch utility - I've been successfully using it to retrieve information from an Active Directory, however, I need to make similar calls from a C program. Is there a suitable LDAP API on AIX which will give me similar capabilties to the... (3 Replies)
Discussion started by: phykell
3 Replies

4. HP-UX

How to use getdiskbyname() API

I would like to use getdiskbyname() this API to get disk size and disk usage can any one give me an example of c program thanks (0 Replies)
Discussion started by: alert0919
0 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. AIX

API for compress exist ?

Hi all, I would like to know if an API for compress (.Z) exists in C ? I want to write a program which process a large number of data files with efficient compression at the end. Thanks (1 Reply)
Discussion started by: domiq44
1 Replies

7. Programming

perl api

Does anyone have any example of how to use the perl api within Build Forge (0 Replies)
Discussion started by: saku
0 Replies

8. Shell Programming and Scripting

Need to run an API from a script and extract fields from output of API

Hi, I need to call an API (GetUsageDetails)from inside a shell script which takes an input argument acct_nbr. The output of API will be like : <usageAccum accumId="450" accumCaptn="PM_125" inclUnits="1410.00" inclUnitsUsed="744.00" shared="true" pooled="false" prorated="false"... (1 Reply)
Discussion started by: rkrish
1 Replies

9. Web Development

Face-api.js — JavaScript API for Face Recognition in the Browser with tensorflow.js

Ref: https://itnext.io/face-api-js-javascript-api-for-face-recognition-in-the-browser-with-tensorflow-js-bcc2a6c4cf07 (0 Replies)
Discussion started by: Neo
0 Replies
rzip(1)                                                                                                                                    rzip(1)

NAME
rzip - a large-file compression program SYNOPSIS
rzip [OPTIONS] <files...> DESCRIPTION
rzip is a file compression program designed to do particularly well on very large files containing long distance redundancy. OPTIONS SUMMARY
Here is a summary of the options to rzip. -0, --worst fastest (worst) compression -6 default compression level -9, --best slowest (best) compression -d, --decompress decompress -f, --force force overwrite of any existing files -o, --output FILENAME specify the output file name -k, --keep keep existing files -L, --level LEVEL set compression level -P, --progress show compression progress -S, --suffix SUFFIX specify compressed suffix (default '.rz') -v, --verbose increase verbosity -V, --version show version OPTIONS
-h --help Print an options summary page -V --version Print the rzip version number -0 (or --worst) to -9 (or --best) --level Set the compression level from 0 to 9. The default is to use level 6, which is a reasonable compromise between speed and compres- sion. The compression level is also strongly related to how much memory rzip uses, so if you are running rzip on a machine with limited amounts of memory then you will probably want to choose a smaller level. -d --decompress Decompress. If this option is not used then rzip looks at the name used to launch the program. If it contains the string 'runzip' then the -d option is automatically set. -o --output Set the output file name. If this option is not set then the output file name is chosen based on the input name and the suffix. The -o option cannot be used if more than one file name is specified on the command line. -S --suffix Set the compression suffix. The default is '.rz'. -f --force If this option is not specified then rzip will not overwrite any existing files. If you set this option then rzip will silently overwrite any files as needed. -k --keep If this option is not specified then rzip will delete the source file after successful compression or decompression. When this option is specified then the source files are not deleted. -P --progress If this option is specified then rzip will show the percentage progress while compressing. INSTALLATION
Just install rzip in your search path. COMPRESSION ALGORITHM
rzip operates in two stages. The first stage finds and encodes large chunks of duplicated data over potentially very long distances (up to nearly a gigabyte) in the input file. The second stage is to use a standard compression algorithm (bzip2) to compress the output of the first stage. The key difference between rzip and other well known compression algorithms is its ability to take advantage of very long distance redun- dency. The well known deflate algorithm used in gzip uses a maximum history buffer of 32k. The block sorting algorithm used in bzip2 is limited to 900k of history. The history buffer in rzip can be up to 900MB long, several orders of magnitude larger than gzip or bzip2. It is quite common these days to need to compress files that contain long distance redundancies. For example, when compressing a set of home directories several users might have copies of the same file, or of quite similar files. It is also common to have a single file that contains large duplicated chunks over long distances, such as pdf files containing repeated copies of the same image. Most compression pro- grams won't be able to take advantage of this redundency, and thus might achieve a much lower compression ratio than rzip can achieve. HISTORY
The ideas behind rzip were first implemented in 1998 while I was working on rsync. That version was too slow to be practical, and was replaced by this version in 2003. BUGS
Unlike most Unix compression programs, rzip cannot compress or decompress to or from standard input or standard output. This is due to the nature of the algorithm that rzip uses and cannot easily be fixed. CREDITS
Thanks to the following people for their contributions to rzip o Paul Russell for many suggestions and the debian packaging o The authors of bzlib for an excellent library AUTHOR
rzip was written by Andrew Tridgell http://samba.org/~tridge/ If you wish to report a problem or make a suggestion then please email bugs-rzip@tridgell.net rzip is released under the GNU General Public License version 2 or later. Please see the file COPYING for license details. October 2003 rzip(1)
All times are GMT -4. The time now is 01:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy