Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!pawl!kudla From: kudla@pawl.rpi.edu (Robert J. Kudla) Newsgroups: comp.sys.amiga Subject: Re: PKZip Amiga arrives Message-ID: Date: 16 Jan 90 08:07:28 GMT References: <1008@lpami.wimsey.bc.ca> <2374@cpsc6a.att.com> Organization: Rensselaer Polytechnic Institute, Troy, NY Lines: 43 In <2374@cpsc6a.att.com> crs@cpsc6a.att.com (Chris Seaman) writes: -> Could you provide an example of how you use Zoo with no manual -> intervention? Frankly, in all the time I've been using the Amiga, -> I've never found a need to do so. I don't spend that much of my -> time archiving/unarchiving files. Besides, it seems that, in order -> to use an archiver that requires 'no' manual intervention, one -> would still need to 'intervene' to build the script: At least the -> use of a text editor, and some form of command line syntax, which -> might include determining the working directory and/or tree -> structure to be archived. How about this? foreach archive ($*) zoo x// $archive end or foreach archive ($*) set newdir `strhead . $archive` cd $newdir zoo x ../$archive cd .. end or alias zv 'zoo v \!*' The first will extract properly any recursive archives. The second will correctly extract any non-recursive archives. (I'm not sure on the syntax though... it's been a while since I wrote it.) The third, obviously, lists an archive. You can't do any of those things with your "simple" PKZip 1.0. -- Robert Jude Kudla "Famous? I'm not famous. People come up to me after a show and say 'Hey, Steve!'" -Jon Anderson