home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / UNZP50P1.ZIP / funzip.doc < prev    next >
Text File  |  1993-01-23  |  2KB  |  70 lines

  1.  
  2. FUNZIP(1)                USER COMMANDS                  FUNZIP(1)
  3.  
  4. NAME
  5.      funzip - extract from a ZIP archive file as a filter
  6.  
  7. SYNOPSIS
  8.      [...]  |  funzip [ password ]  |  [...]
  9.  
  10. ARGUMENTS
  11.      [password]  Optional password to be used if ZIP  archive  is
  12.                  encrypted.   Decryption  may not be supported at
  13.                  some sites.  See DESCRIPTION for more details.
  14.  
  15. DESCRIPTION
  16.      FUnZip acts as a filter; that is,  it  assumes  that  a  ZIP
  17.      archive  is being piped into standard input, and it extracts
  18.      the first member from the archive to stdout.  Given the lim-
  19.      itation  on  single-member extraction, FUnZip is most useful
  20.      in conjunction with a secondary  archiver  program  such  as
  21.      tar(1).   The  following  section includes an example illus-
  22.      trating this usage in the case of disk backups to tape.
  23.  
  24. EXAMPLES
  25.      To use FUnZip to  extract  the  first  member  file  of  the
  26.      archive test.zip and to pipe it into more(1):
  27.  
  28.           funzip < test.zip | more
  29.  
  30.      To use FUnZip to test the first member file of test.zip (any
  31.      errors will be reported on standard error):
  32.  
  33.           funzip < test.zip > /dev/null
  34.  
  35.      To use Zip and FUnZip in place of  compress(1)  and  zcat(1)
  36.      for tape backups:
  37.  
  38.           tar cf - . | zip -7 | dd of=/dev/nrst0 obs=8k
  39.  
  40.           dd if=/dev/nrst0 ibs=8k | funzip | tar xf -
  41.  
  42.      (where, for example, nrst0 is a SCSI tape drive).
  43.  
  44. LIMITATIONS
  45.      There is presently no way to  extract  any  member  but  the
  46.      first  from a ZIP archive.  This would be useful in the case
  47.      where a ZIP archive is included within another archive.
  48.  
  49.      An alternate mechanism for passing the  password  to  FUnZip
  50.      would be preferable to putting it on the command line.
  51.  
  52.      FUnZip would be useful under OS/2, too.
  53.  
  54.      The functionality of FUnZip  should  be  included  in  UnZip
  55.      directly (future release).
  56.  
  57. Info-ZIP          Last change: 19 Aug 92 (v1.3)                 1
  58.  
  59. FUNZIP(1)                USER COMMANDS                  FUNZIP(1)
  60.  
  61. SEE ALSO
  62.      unzip(1),  zip(1),  zipcloak(1),   zipinfo(1),   zipnote(1),
  63.      zipsplit(1)
  64.  
  65. AUTHOR
  66.      Mark Adler (Info-ZIP)
  67.  
  68. Info-ZIP          Last change: 19 Aug 92 (v1.3)                 2
  69.  
  70.