[comp.sys.amiga] unZooing a subdirectory

lphillips@lpami.wimsey.bc.ca (Larry Phillips) (03/16/90)

In <45182@ames.arc.nasa.gov>, dueker@xenon.arc.nasa.gov (Chris Dueker) writes:
>
>Anyway, I was wondering about extracting subdirectories using zoo.  Do
>I need to have the directory tree already created, ready for zoo to
>stick the files in the tree?  It seems as though I do.  For example, I
>extracted the Aquarium directory from Aquarium.zoo from #301.  There is
>a DATA subdirectory under the Aquarium directory.  The extraction left
>the files in Aquarium that should have gone into Aquarium/data.  When I
>"pre-created" the directory tree (otherwise empty), the extraction went
>without a hitch.

zoo e// ZooFileName

will extract all files the the archive, and create any directories necessary.
It isn't real well documented.

-larry

--
Entomology bugs me.
+-----------------------------------------------------------------------+ 
|   //   Larry Phillips                                                 |
| \X/    lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips |
|        COMPUSERVE: 76703,4322  -or-  76703.4322@compuserve.com        |
+-----------------------------------------------------------------------+

dueker@xenon.arc.nasa.gov (Chris Dueker) (03/17/90)

Last night, for the first time, I got a Fish disk from the net instead
of paying $3-$3.50 for each disk at my local dealer.  (Cost me a couple
of hours of a local phone call @1200 baud, but what th' 'ell).

Anyway, I was wondering about extracting subdirectories using zoo.  Do
I need to have the directory tree already created, ready for zoo to
stick the files in the tree?  It seems as though I do.  For example, I
extracted the Aquarium directory from Aquarium.zoo from #301.  There is
a DATA subdirectory under the Aquarium directory.  The extraction left
the files in Aquarium that should have gone into Aquarium/data.  When I
"pre-created" the directory tree (otherwise empty), the extraction went
without a hitch.

Any suggestions?  Please reply by e-mail unless you think others would
be interested.  (I doubt it.  Everybody probably knows how but me.  :-)

The zoo I'm using is whichever the last zoo on the Fish disks before
disk 301.  (I forgot to check the version number.)

------------------------------------------------------------------------
"Ah, Benson, you are so mercifully free of the ravages of intellegence!"
"Oh, thank you, Master!"             - from the movie, TIME BANDITS
------------------------------------------------------------------------
dueker@xenon.arc.nasa.gov        |   Chris Dueker (The Code Slinger)
dueker@krypton.arc.nasa.gov      |   Computer Sciences Corp.
duke@well.sf.ca.us               |   Mtn. View, CA

bleys@tronsbox.UUCP (Bill Cavanaugh) (03/18/90)

>Anyway, I was wondering about extracting subdirectories using zoo.  Do
>I need to have the directory tree already created, ready for zoo to
>stick the files in the tree?  It seems as though I do.  For example, I
>extracted the Aquarium directory from Aquarium.zoo from #301.  There is
>a DATA subdirectory under the Aquarium directory.  The extraction left
>the files in Aquarium that should have gone into Aquarium/data.  When I
>"pre-created" the directory tree (otherwise empty), the extraction went
>without a hitch.

Use ZOO e// filename, and the directory structure will be created
automatically.

     /************************************************************
     *                                                           *
     * Everything above is copyright me.  All rights unreserved. *
     *                uunet!tronsbox!bleys                       *
     *                                                           *
     * "The perversity of the universe tends to a maximum"       *
     *                              Finagle's First Law          *
     *                                 J. Pournelle              *
     *                                                           *     
     ************************************************************/

bevis@EE.ECN.PURDUE.EDU (Jeff Bevis) (03/19/90)

In article <45182@ames.arc.nasa.gov>, dueker@xenon.arc.nasa.gov writes:
>
>Anyway, I was wondering about extracting subdirectories using zoo.  Do
>I need to have the directory tree already created, ready for zoo to
>stick the files in the tree?  It seems as though I do.  For example, I

Sounds like you're doing this:

	zoo e file.zoo

Which extracts files into the current directory.  You want to do this:

	zoo e// file.zoo

This will extract into subdirectories (from the current dir) like you want.
Also, try the "zoo l file.zoo" line to ensure that the file indeed does
create subdirectories -- otherwise you may want to make a subdirectory and
move the zoo file into it before extracting...



-------------------------------------------------------------------------------
Jeff Bevis		     Purdue Univeristy School of Electrical Engineering
bevis@en.ecn.purdue.edu	  	   	       Give me Amiga or nothing at all. 
Actually, I never liked spam.  Spam, spam, spam, sausage, bacon and spam...