Home > general > io_fun > bzip.m

bzip

PURPOSE ^

BZIP bzip2 compression/decompression

SYNOPSIS ^

function bzip(fname,varargin)

DESCRIPTION ^

BZIP  bzip2 compression/decompression

   bzip(fname,<flags>);

 compression/decompression of fname that is <a href="http://www.bzip.org">bzip</a> 
 compressed (extension bz2) by calling bzip2-105-x86-win32.exe

 where flags by default is '-d' (force decompression without 
 keeping origional zipped file). The bzip2 flags are:

   -h --help           print this message
   -d --decompress     force decompression
   -z --compress       force compression
   -k --keep           keep (don't delete) input files
   -f --force          overwrite existing output files
   -t --test           test compressed file integrity
   -c --stdout         output to standard out
   -q --quiet          suppress noncritical error messages
   -v --verbose        be verbose (a 2nd -v gives more)
   -L --license        display software version & license
   -V --version        display software version & license
   -s --small          use less memory (at most 2500k)
   -1 .. -9            set block size to 100k .. 900k
   --fast              alias for -1
   --best              alias for -9

  If invoked as `bzip2', default action is to compress.
             as `bunzip2',  default action is to decompress.
             as `bzcat', default action is to decompress to stdout.

  If no file names are given, bzip2 compresses or decompresses
  from standard input to standard output.  You can combine
  short flags, so `-v -4' means the same as -v4 or -4v, &c.%

 Example:

   bzip('20050201-AVHRR16_L-EUR-L2P-mcsst_..._cnavo-v01.nc.bz2','-d -k')

See also: ZIP

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 29-Nov-2010 15:42:51 by m2html © 2005